aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/graphite/scop-14.c
blob: 867e293d6494cb146da5a268d67bc21b24c074c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
void bar ();

int toto()
{
  int i,j, b;
  int a[100];

  for (j = 0; j <= 20; j++)
    {
      a[j] = b + i;
      
      if (j * i == b)
        break;

      a[j+b] = b + i;
    }

  a[i] = b + 3;


  return a[b];
}

/* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 1 "graphite"} } */ 
/* { dg-final { cleanup-tree-dump "graphite" } } */