1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* { dg-do compile } */ /* { dg-options "-O2 -ftree-loop-distribution" } */ int a[8][8]; int b[8]; void foo (int i) { int j; for (j = 0; j < 8; j++) { a[i][j] = 0; b[j] = j; } }