This avoids sigjmp_buf use which maybe fixes newlib targets. Tested on x86_64-unknown-linux-gnu, applied.
Richard. 2013-04-24 Richard Biener <rguent...@suse.de> PR testsuite/57050 * gcc.c-torture/execute/pr56982.c: Avoid sigjmp_buf use. Index: gcc/testsuite/gcc.c-torture/execute/pr56982.c =================================================================== --- gcc/testsuite/gcc.c-torture/execute/pr56982.c (revision 198216) +++ gcc/testsuite/gcc.c-torture/execute/pr56982.c (working copy) @@ -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");