URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [scop-22.c] - Rev 689
Compare with Previous | Blame | View Log
double u[1782225]; void foo(int N, int *res) { int i; double a, b; double sum = 0.0; for (i = 0; i < N; i++) { a = u[i]; u[i] = i * i; b = u[i]; sum += a + b; } *res = sum + N; } /* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite"} } */ /* { dg-final { cleanup-tree-dump "graphite" } } */