OSDN Git Service

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