]> git.ipfire.org Git - thirdparty/gcc.git/commit
2012-09-14 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Sep 2012 08:50:01 +0000 (08:50 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Sep 2012 08:50:01 +0000 (08:50 +0000)
commit8b76fbe9f4f17730a880a2a8328af059aa8b1ba7
tree6931625451a04ffd6e6f89ff91104156c0dfa780
parent7b666a86b5e97caaf523fbef72b9dbb791e48d77
2012-09-14  Richard Guenther  <rguenther@suse.de>

* builtin-types.def (BT_FN_CONST_STRING): Add.
* builtins.def (BUILT_IN_FILE, BUILT_IN_FUNCTION,
BUILT_IN_LINE): New builtins.
* gimplify.c (gimplify_call_expr): Expand them.
* doc/extend.texi (__builtin_LINE, __builtin_FUNCTION,
__builtin_FILE): Document.

* g++.dg/torture/builtin-location.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191290 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtin-types.def
gcc/builtins.def
gcc/doc/extend.texi
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/builtin-location.C [new file with mode: 0644]