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
+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.
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)
+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.
#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;
+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.
unsigned short int y = 10;
if (showbug(&x, &y) != 0)
- abort (0);
+ abort ();
exit (0);
}