OSDN Git Service

Fix PR42205.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / graphite / block-0.c
1 #define N 1000
2
3 int toto()
4 {
5   int j;
6   int i;
7   int a[N];
8   int b[N];
9
10   for (i = 0; i < N; i++)
11     for (j = 0; j < N; j++)
12       a[j] = a[i] + 1;
13
14   return a[0];
15 }
16
17 main()
18 {
19   return toto();
20 }
21
22 /* { dg-final { scan-tree-dump-times "will be loop blocked" 1 "graphite" } } */
23 /* { dg-final { cleanup-tree-dump "graphite" } } */