re PR testsuite/57050 (FAIL: gcc.c-torture/execute/pr56982.c compilation, -O0)
authorRichard Biener <rguenther@suse.de>
Wed, 24 Apr 2013 08:21:04 +0000 (08:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 24 Apr 2013 08:21:04 +0000 (08:21 +0000)
2013-04-24  Richard Biener  <rguenther@suse.de>

PR testsuite/57050
* gcc.c-torture/execute/pr56982.c: Avoid sigjmp_buf use.

From-SVN: r198218

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr56982.c

index a9c8694..c5d3ff3 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-24  Richard Biener  <rguenther@suse.de>
+
+       PR testsuite/57050
+       * gcc.c-torture/execute/pr56982.c: Avoid sigjmp_buf use.
+
 2013-04-23  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/57036
index 371a91c..c7da2af 100644 (file)
@@ -1,8 +1,10 @@
-#include <stdlib.h>
 #include <setjmp.h>
 
-static sigjmp_buf env;
-void *stderr;
+extern void abort (void);
+extern void exit (int);
+
+static jmp_buf env;
+
 void baz (void)
 {
   __asm__ volatile ("" : : : "memory");