1 /* PR tree-optimization/69167 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O2" } */ 4 5 int sigsetjmp (char *); 6 void foo (); 7 void bar (void (*) (int *)); 8 extern char t[]; 9 10 void baz(int * x)11baz (int *x) 12 { 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 (); 21 } 22