* c-decl.c (duplicate_decls): Preserve the noreturn attribute on
non-ANSI builtin functions.
* gcc.c-torture/execute/builtin-noret-1.c: Test non-ANSI functions.
From-SVN: r55396
+2002-07-11 Roger Sayle <roger@eyesopen.com>
+
+ * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
+ non-ANSI builtin functions.
+
Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
* rtl.h (gen_rtx_CONST_VECTOR): Declare.
COPY_DECL_RTL (olddecl, newdecl);
/* Merge the type qualifiers. */
- if (TREE_CODE (olddecl) == FUNCTION_DECL
- && DECL_BUILT_IN_NONANSI (olddecl) && TREE_THIS_VOLATILE (olddecl)
- && ! TREE_THIS_VOLATILE (newdecl))
- TREE_THIS_VOLATILE (write_olddecl) = 0;
-
if (TREE_READONLY (newdecl))
TREE_READONLY (write_olddecl) = 1;
+2002-07-11 Roger Sayle <roger@eyesopen.com>
+
+ * gcc.c-torture/execute/builtin-noret-1.c: Test non-ANSI functions.
+
2002-07-10 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20000217-1.c: Fix usage of "abort".
extern void abort (void);
extern void exit (int);
-#if 0 /* Doesn't work with prototype (bug?). */
extern void _exit (int);
extern void _Exit (int);
-#endif
extern void tabort (void);
extern void texit (void);