1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* PR debug/46252 */ /* { dg-do compile } */ /* { dg-options "-O -frerun-cse-after-loop -fno-tree-loop-optimize -funroll-loops -fcompare-debug" } */ void foo (float *f) { int i; for (i = 0; i < 4; i++) f[i] = i; bar (); for (i = 0; i < 4; i++) if (f[i] != i) __builtin_abort (); }