OSDN Git Service

libcpp/:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / graphite / scop-14.c
1 /* { dg-options "-O2 -fgraphite -fdump-tree-graphite-all" } */
2
3 void bar ();
4
5 int toto()
6 {
7   int i,j, b;
8   int a[100];
9
10   for (j = 0; j <= 20; j++)
11     {
12       a[j] = b + i;
13       
14       if (j * i == b)
15         break;
16
17       a[j+b] = b + i;
18     }
19
20   a[i] = b + 3;
21
22
23   return a[b];
24 }
25
26 /* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 1 "graphite"} } */ 
27 /* { dg-final { cleanup-tree-dump "graphite" } } */