URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [scop-22.c] - Rev 384
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" } } */