mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 06:49:30 +08:00
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
This commit is contained in:
parent
a35f8b7428
commit
c5358a5d46
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2002-07-11 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* config/rs6000/linux64.h (ASM_SPEC): Define.
|
||||
|
@ -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)
|
||||
|
||||
|
@ -1,10 +1,16 @@
|
||||
2002-07-10 Roger Sayle <roger@eyesopen.com>
|
||||
Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* builtins.c (initialize_builtins): Remove defines that
|
||||
handled C/C++ specific junk hereby removed from builtins.def.
|
||||
|
||||
2002-07-07 Neil Booth <neil@daikokuya.co.uk>
|
||||
|
||||
* lang.c (java_post_options): Update prototype.
|
||||
|
||||
2002-07-05 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* java/builtins.c (initialize_builtins): Ignore the additional
|
||||
* builtins.c (initialize_builtins): Ignore the additional
|
||||
parameter to DEF_BUILTIN. Handle more C/C++ specific junk in
|
||||
the builtins.def file.
|
||||
|
||||
|
@ -284,8 +284,6 @@ initialize_builtins ()
|
||||
#define va_list_ref_type_node NULL_TREE
|
||||
#define va_list_arg_type_node NULL_TREE
|
||||
#define flag_isoc99 0
|
||||
#define c_language 0
|
||||
#define clk_cplusplus 0
|
||||
|
||||
#define DEF_PRIMITIVE_TYPE(ENUM, VALUE) \
|
||||
builtin_types[(int) ENUM] = VALUE;
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-07-10 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* gcc.c-torture/execute/20000217-1.c: Fix usage of "abort".
|
||||
|
||||
2002-07-10 Jeffrey A Law <law@redhat.com>
|
||||
|
||||
* gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.
|
||||
|
@ -10,7 +10,7 @@ int main()
|
||||
unsigned short int y = 10;
|
||||
|
||||
if (showbug(&x, &y) != 0)
|
||||
abort (0);
|
||||
abort ();
|
||||
|
||||
exit (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user