diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 11:26:15 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 11:26:15 +0000 |
commit | fafa62e3f4be877e8e497174a4457012a3dde4e7 (patch) | |
tree | 78a559501ccca1b52e8ea0c89ea33d6d82bc3137 /gcc/c-common.c | |
parent | b3a8144e8e3b3e6c8edba5b5fc11f04b079b7d01 (diff) | |
download | gcc-fafa62e3f4be877e8e497174a4457012a3dde4e7.tar.gz |
* c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
* extend.texi: Document _Exit builtin.
testsuite:
* gcc.c-torture/execute/builtin-noret-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38771 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 1e36874190c..3a76510428e 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -5558,9 +5558,11 @@ c_common_nodes_and_builtins () builtin_function_2 (NULL_PTR, "alloca", NULL_TREE, ptr_ftype_sizetype, BUILT_IN_ALLOCA, BUILT_IN_NORMAL, 0, 1, 0); #endif - /* Declare _exit just to mark it as non-returning. */ + /* Declare _exit and _Exit just to mark them as non-returning. */ builtin_function_2 (NULL_PTR, "_exit", NULL_TREE, void_ftype_int, 0, NOT_BUILT_IN, 0, 1, 1); + builtin_function_2 (NULL_PTR, "_Exit", NULL_TREE, void_ftype_int, + 0, NOT_BUILT_IN, 0, !flag_isoc99, 1); builtin_function_2 ("__builtin_index", "index", string_ftype_cstring_int, string_ftype_cstring_int, |