2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70152.c
blob27a092d199af86c2cce2145e7f88753fde1735f4
1 /* PR tree-optimization/70152 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int a;
6 int foo (void);
7 int setjmp (char *);
8 char buf[64];
10 static int
11 bar (int x)
13 x = 0;
14 setjmp (buf);
15 for (;;)
17 switch (x)
18 case 5:
19 x = foo ();
23 void
24 baz (void)
26 bar (a);