2013-05-06 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr57147-1.c
blobe5ad5449989f52daba18c2832f6afc40dd9c2651
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-optimized" } */
3 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
5 struct __jmp_buf_tag {};
6 typedef struct __jmp_buf_tag jmp_buf[1];
7 extern int _setjmp (struct __jmp_buf_tag __env[1]);
9 jmp_buf g_return_jmp_buf;
11 void SetNaClSwitchExpectations (void)
14 void TestSyscall(void)
16 SetNaClSwitchExpectations();
17 _setjmp (g_return_jmp_buf);
20 /* { dg-final { scan-tree-dump-not "builtin_unreachable" "optimized" } } */
21 /* { dg-final { cleanup-tree-dump "optimized" } } */