summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.graphite/pr41118.c
blob: 18e95ed8b5be945f0b5dec49acd83f63b4349978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
void foo(int *a, int *b)
{
  int i;
  int *c = b+1;

  for (i = 0; i < 100; i++)
    a[i] = c[i];
}

int main(void)
{
  return 0;
}

/* Check that parallel code generation part make the right answer.  */
/* { dg-final { cleanup-tree-dump "graphite" } } */
/* { dg-final { scan-tree-dump-times "loopfn" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "parloops" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */