1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* Contributed by Volker Reichelt <reichelt@gcc.gnu.org>. */ /* { dg-do compile } */ /* { dg-options "-O2 -ftree-loop-linear" } */ int a[3]; void foo() { int i, j; for (i = 1; i >= 0; --i) for (j = i; j >= 0; --j) a[i+j] = 0; }