Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / graphite / id-6.c
blobc3aab432a59612f205d8d4595033ae782617d318
1 #define N 10000
2 void foo (int);
3 int test ()
5 int a[N];
6 unsigned i;
8 for (i = 0; i < N; i++)
10 a[i] = i + 12;
12 if (i == 40)
13 a[i] = i;
14 else
15 a[i] = i+1;
18 a[i] = i + 12;
19 a[i] = a[i+1];
20 a[i] += a[i+2];
21 a[i] += a[i+3];
22 a[i] += a[i+4];
23 a[i] += a[i+5];
24 a[i] += a[i+6];
28 return a[20];