PR tree-optimization/61576
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr61576.c
blob4ac755dab3cde27e40194db94776590ed8be8a24
1 /* { dg-do run } */
3 #include <stdlib.h>
4 volatile int a, b;
5 int c, d, e, f;
7 static int
8 fn1 ()
10 if (b)
12 d++;
13 e = c || f;
15 return 0;
18 int
19 main ()
21 for (; a < 1; a++)
23 fn1 ();
24 continue;
26 if (d != 0)
27 abort();
28 return 0;