aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/pr44974.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 66ef487..29a9bfb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/pr44974.c b/gcc/testsuite/gcc.dg/pr44974.c
index 14e43ec..a16c558 100644
--- a/gcc/testsuite/gcc.dg/pr44974.c
+++ b/gcc/testsuite/gcc.dg/pr44974.c
@@ -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)