gcc/testsuite/gcc.dg/graphite/pr33576.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -ftree-loop-linear" } */ |
| 3 | |
| 4 | int a1[6][4][4]; |
| 5 | short b1[16]; |
| 6 | |
| 7 | int c1; |
| 8 | void CalculateQuantParam(void) |
| 9 | { |
| 10 | int i, j, k, temp; |
| 11 | |
| 12 | for(k=0; k<6; k++) |
| 13 | for(j=0; j<4; j++) |
| 14 | for(i=0; i<4; i++) |
| 15 | { |
| 16 | temp = (i<<2)+j; |
| 17 | a1[k][j][i] = c1/b1[temp]; |
| 18 | } |
| 19 | } |
| 20 |