Hi,
the testcase bellow started to fail because we now inline the call of _Exit to
call to bar. Fixed thus.

Honza

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 193049)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2012-10-31  Jan Hubicka  <j...@suse.cz>
+
+       * gcc.dg/pr44974.c: Add noinline.
+
 2012-10-31  Janus Weil  <ja...@gcc.gnu.org>
 
        PR fortran/53718
Index: gcc.dg/pr44974.c
===================================================================
--- gcc.dg/pr44974.c    (revision 192989)
+++ gcc.dg/pr44974.c    (working copy)
@@ -2,9 +2,9 @@
 /* { dg-do compile } */
 /* { dg-options "-O -fno-optimize-sibling-calls" } */
 
-extern void foo (int status) __attribute__ ((__noreturn__));
-extern void bar (int status) __attribute__ ((__noreturn__));
-extern void _Exit (int status) __attribute__ ((__noreturn__));
+extern void foo (int status) __attribute__ ((__noreturn__,__noinline__));
+extern void bar (int status) __attribute__ ((__noreturn__,__noinline__));
+extern void _Exit (int status) __attribute__ ((__noreturn__,__noinline__));
 
 void
 foo (int status)

Reply via email to