tree-optimization/111233 - loop splitting miscompile
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr81118.c
blob4bb17e2c0879c1374b2c15cb1c25d0ba14cab522
1 /* { dg-do compile } */
2 /* { dg-additional-options "-w" } */
4 int a[7], b;
5 int c()
7 int d, e;
8 for (; d; d++)
9 if (a[d])
10 if (b)
11 return 0;
12 else if (d >= e)
13 return 0;