2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59920-1.c
bloba2f07276700205d08b6106608125d2287dedb100
1 /* PR tree-optimization/59920 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0" } */
4 /* { dg-require-effective-target indirect_jumps } */
6 #include <setjmp.h>
8 int bar (void);
9 void baz (int);
11 #define A { int x = bar (); if (setjmp (buf) == 0) baz (x); }
12 #define B A A A A A A A A A A
13 #define C B B B B B B B B B B
15 extern jmp_buf buf;
17 void
18 foo (void)
20 C C