gcc/testsuite/gcc.dg/graphite/pr46966.c
raw| 1 | /* PR tree-optimization/46966 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* This test is too big for small targets. */ |
| 4 | /* { dg-require-effective-target size32plus } */ |
| 5 | /* { dg-options "-O -floop-nest-optimize -ffast-math -fno-tree-copy-prop -fno-tree-loop-im" } */ |
| 6 | |
| 7 | int a[1000][1000]; |
| 8 | |
| 9 | void foo () |
| 10 | { |
| 11 | int i, j; |
| 12 | for (i = 0; i < 1000; i++) |
| 13 | for (j = 0; j < 1000; j++) |
| 14 | a[i][j] = 0; |
| 15 | } |