tree-optimization/111233 - loop splitting miscompile
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr111838.c
blob67007d9742d581a130e18536735e449a289f9695
1 /* { dg-do run } */
2 /* { dg-additional-options "-fsplit-loops" } */
4 int a, b, c;
5 volatile char d;
6 int main()
8 for (; b < 1; b++)
9 for (char e = -17; e < 1; e += 5)
11 if (e ? a % e : 0)
13 for (c = 0; c < 1; c++)
16 return 0;