gcc/testsuite/gcc.dg/graphite/block-pr47654.c
raw| 1 | int a[128][40]; |
| 2 | |
| 3 | void __attribute__ ((noinline, noclone)) |
| 4 | foo (void) |
| 5 | { |
| 6 | int i, j; |
| 7 | for (i = 0; i < 40; i++) |
| 8 | for (j = 0; j < 128; j++) |
| 9 | a[j][i] = 4; |
| 10 | } |
| 11 | |
| 12 | int |
| 13 | main () |
| 14 | { |
| 15 | int i, j; |
| 16 | foo (); |
| 17 | for (i = 0; i < 40; i++) |
| 18 | for (j = 0; j < 128; j++) |
| 19 | if (a[j][i] != 4) |
| 20 | __builtin_abort (); |
| 21 | return 0; |
| 22 | } |
| 23 | |
| 24 | /* { dg-final { scan-tree-dump "tiled by" "graphite" } } */ |