2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr46177-2.c
blob91fd20e75508c028533fed557e317e4a2a2059b2
1 /* { dg-do compile } */
2 /* { dg-options "-O -fno-tree-copy-prop -ftree-loop-distribution" } */
4 int A[30], B[30];
6 void
7 foo (int j)
9 int i, k;
10 for (k = 0; k < 10; k++)
11 if (j)
13 for (; j < k; j++)
15 for (i = 0; i < k; i++)
16 A[i] = B[i] = 0;