Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / graphite / scop-0.c
blob958285f8ac60aa4184b730eed858dad272be08e7
1 int foo (void);
2 void bar (void);
4 int toto()
6 /* Scop 1. */
7 int i, j, k;
8 int a[201][100];
9 int b[100];
10 int N = foo ();
12 for (i = 0; i < 2*N+ 100; i++)
13 for (j = 0; j < 200; j++)
14 a[j][i] = a[j+1][10] + 2;
16 return a[3][5] + b[1];
17 /* End scop 1. */
20 /* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite"} } */
21 /* { dg-final { cleanup-tree-dump "graphite" } } */