* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / scop-2.c
blobfb1a4e7b692b139d243ad31e99d5c9e5d8b7f7a9
1 void bar (void);
3 int toto()
5 int i, j, k;
6 int a[101][100];
7 int b[100];
9 for (i = 1; i < 100; i++)
11 for (j = 1; j < 100; j++)
12 for (k = 1; k < 100; k++)
13 a[j][k] = a[j+1][i-1] + 2;
15 b[i] = b[i-1] + 2;
17 bar ();
19 for (j = 1; j < 100; j++)
20 a[j][i] = a[j+1][i-1] + 2;
22 b[i] = b[i-1] + 2;
24 bar ();
26 for (j = 1; j < 100; j++)
27 a[j][i] = a[j+1][i-1] + 2;
29 b[i] = a[i-1][i] + 2;
31 for (j = 1; j < 100; j++)
32 a[j][i] = a[j+1][i-1] + 2;
35 return a[3][5] + b[1];
38 /* { dg-final { scan-tree-dump-times "number of SCoPs: 2" 1 "graphite"} } */