2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr46252.c
blob70bf21d6c079b11104209ab04572a274bc04ed1d
1 /* PR debug/46252 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -frerun-cse-after-loop -fno-tree-loop-optimize -funroll-loops -fcompare-debug" } */
5 void
6 foo (float *f)
8 int i;
9 for (i = 0; i < 4; i++)
10 f[i] = i;
11 bar ();
12 for (i = 0; i < 4; i++)
13 if (f[i] != i)
14 __builtin_abort ();