URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ltrans-3.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -ftree-loop-linear -fdump-tree-ltrans-all" } */ /* { dg-options "-O2 -ftree-loop-linear -fdump-tree-ltrans-all -march=i486" { target { i?86-*-* && ilp32} } } */ /* { dg-require-effective-target size32plus } */ double u[1782225]; int foo(int N, int *res) { unsigned int i, j; double sum = 0; for (i = 0; i < N; i++) { for (j = 0; j < N; j++) { sum = sum + u[i + 1335 * j]; } } *res = sum + N; } /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans" } } */ /* { dg-final { cleanup-tree-dump "ltrans" } } */