diff options
author | Roger Sayle <roger@eyesopen.com> | 2002-07-11 01:20:23 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2002-07-11 01:20:23 +0000 |
commit | c5358a5d4619e8a49b44295c70868f2f26a98462 (patch) | |
tree | e00b81701593f7df60c8eb9a66435762973887de /gcc/builtins.def | |
parent | a35f8b7428f9534a23ac357e48d7c6b7f03d164e (diff) | |
download | gcc-c5358a5d4619e8a49b44295c70868f2f26a98462.zip gcc-c5358a5d4619e8a49b44295c70868f2f26a98462.tar.gz gcc-c5358a5d4619e8a49b44295c70868f2f26a98462.tar.bz2 |
builtins.def: Make the argument types of abort and exit independent of the front-end.
2002-07-10 Roger Sayle <roger@eyesopen.com>
Zack Weinberg <zack@codesourcery.com>
* builtins.def: Make the argument types of abort and exit
independent of the front-end.
* java/builtins.c (initialize_builtins): Remove defines that
handled C/C++ specific junk hereby removed from builtins.def.
* gcc.c-torture/execute/20000217-1.c: Fix usage of "abort".
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r55385
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r-- | gcc/builtins.def | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def index 5c2dbb2..58f7c49 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -549,16 +549,16 @@ DEF_UNUSED_BUILTIN(BUILT_IN_VEC_DELETE) DEF_BUILTIN (BUILT_IN_ABORT, "__builtin_abort", NOT_BUILT_IN, - (c_language == clk_cplusplus ? BT_FN_VOID : BT_FN_VOID_VAR), - (c_language == clk_cplusplus ? BT_FN_VOID : BT_FN_VOID_VAR), + BT_FN_VOID, + BT_FN_VOID, 1, 0, 0, ATTR_NORETURN_NOTHROW_LIST) DEF_BUILTIN (BUILT_IN_EXIT, "__builtin_exit", NOT_BUILT_IN, - (c_language == clk_cplusplus ? BT_FN_VOID_INT : BT_FN_VOID_VAR), - (c_language == clk_cplusplus ? BT_FN_VOID_INT : BT_FN_VOID_VAR), + BT_FN_VOID_INT, + BT_FN_VOID_INT, 1, 0, 0, ATTR_NORETURN_NOTHROW_LIST) |