URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [scop-22.c] - Rev 298
Go to most recent revision | 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" } } */
Go to most recent revision | Compare with Previous | Blame | View Log