OSDN Git Service

2009-10-16 Sebastian Pop <sebastian.pop@amd.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / graphite / interchange-9.c
1 int
2 foo (int *x)
3 {
4   int i, j;
5   int sum = 0;
6
7   for (j = 0;  j < 10000; ++j)
8     for (i = 0;  i < 10000; ++i)
9       sum += x[10000 * i + j];
10
11   return sum;
12 }
13
14 /* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
15 /* { dg-final { cleanup-tree-dump "graphite" } } */