summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr33576.c
blob: 2470762f7a792fd4eea7f9a94b4c13b7b49386e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile } */ 
/* { dg-options "-O2 -ftree-loop-linear" } */

int a1[6][4][4];
short b1[16];

int c1;
void CalculateQuantParam(void)
{
  int i, j, k, temp;

   for(k=0; k<6; k++)
      for(j=0; j<4; j++)
        for(i=0; i<4; i++)
        {
          temp = (i<<2)+j;
          a1[k][j][i]  = c1/b1[temp];
        }
}