summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 23:10:22 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 23:10:22 +0000
commite98dcfc2367b0800142ab02aaee07d1407ff51a3 (patch)
tree2cfae026616c067426509dd3fbb2b67f09e16fc4 /gcc
parent6e8485da8b7552eab824bc1b3688c2c8a03e9199 (diff)
downloadppe42-gcc-e98dcfc2367b0800142ab02aaee07d1407ff51a3.tar.gz
ppe42-gcc-e98dcfc2367b0800142ab02aaee07d1407ff51a3.zip
* gcc.dg/pr44974.c: Add noinline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 66ef4877eeb..29a9bfbb0c5 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 14e43ece3c2..a16c558331b 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)
OpenPOWER on IntegriCloud