aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtin-types.def
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-09-14 08:50:01 +0000
committerRichard Guenther <rguenther@suse.de>2012-09-14 08:50:01 +0000
commitdc05e6ff84a9c867b806d8e1b9c627351b5872ef (patch)
tree6931625451a04ffd6e6f89ff91104156c0dfa780 /gcc/builtin-types.def
parente3e7180d202038eac1ec0daabb87ffe6dc88a1bf (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@191290 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtin-types.def')
-rw-r--r--gcc/builtin-types.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/builtin-types.def b/gcc/builtin-types.def
index d8e9e566694..660300dea78 100644
--- a/gcc/builtin-types.def
+++ b/gcc/builtin-types.def
@@ -140,6 +140,7 @@ DEF_POINTER_TYPE (BT_PTR_PTR, BT_PTR)
DEF_FUNCTION_TYPE_0 (BT_FN_VOID, BT_VOID)
DEF_FUNCTION_TYPE_0 (BT_FN_BOOL, BT_BOOL)
DEF_FUNCTION_TYPE_0 (BT_FN_PTR, BT_PTR)
+DEF_FUNCTION_TYPE_0 (BT_FN_CONST_STRING, BT_CONST_STRING)
DEF_FUNCTION_TYPE_0 (BT_FN_PID, BT_PID)
DEF_FUNCTION_TYPE_0 (BT_FN_INT, BT_INT)
DEF_FUNCTION_TYPE_0 (BT_FN_UINT, BT_UINT)