* gcc.dg/pr44974.c: Add noinline.

From-SVN: r193050
This commit is contained in:
Jan Hubicka 2012-11-01 00:10:22 +01:00 committed by Jan Hubicka
parent dbbb73ddb8
commit 2a381a57f3
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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)