aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/scop-14.c
blob: 9ffc7c6538fc03271cfe28e8daf1b2c3148cd41d (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
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"} } */