diff mbox

Fix gcc.dg/pr44974.c

Message ID 20121031231136.GB12209@kam.mff.cuni.cz
State New
Headers show

Commit Message

Jan Hubicka Oct. 31, 2012, 11:11 p.m. UTC
Hi,
the testcase bellow started to fail because we now inline the call of _Exit to
call to bar. Fixed thus.

Honza
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 193049)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2012-10-31  Jan Hubicka  <jh@suse.cz>
+
+	* gcc.dg/pr44974.c: Add noinline.
+
 2012-10-31  Janus Weil  <janus@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)