2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr69167.c
blobbda02263d4e74a4e533dd9a76696564ca61b4206
1 /* PR tree-optimization/69167 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int sigsetjmp (char *);
6 void foo ();
7 void bar (void (*) (int *));
8 extern char t[];
10 void
11 baz (int *x)
13 int *a = x;
14 foo ();
15 x = 0;
16 if (sigsetjmp (t))
17 while (1)
18 bar (a ? baz : 0);
19 if (x)
20 foo ();