tree-optimization/112827 - corrupt SCEV cache during SCCP
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr112827-2.c
bloba7a2a70211b0ccf57499c92a8863db1781d4e922
1 /* { dg-do compile } */
3 short a, b[1], f;
4 char c, g;
5 int d, e;
6 int main() {
7 for (; f; f++) {
8 for (d = 0; d < 2; d++)
10 if (a)
11 for (g = 0; g < 2; g++)
12 for (c = 0; c < 2; c += b[d+g])
14 for (; e; e++)
17 return 0;