Debian Codegraph @

gcc/testsuite/gcc.dg/graphite/id-20.c

raw
1 /* { dg-options "-O3 -fgraphite-identity -ffast-math" } */
2
3 typedef enum
4 {
5 I_SLICE,
6 } SliceType;
7 typedef struct
8 {
9 int type;
10 } ImageParameters;
11 extern ImageParameters *img;
12 int A[64], B[64], C[13][8][8], D[13][8][8];
13
14 void
15 foo (int q, int temp)
16 {
17 int i, j, k;
18 for(k=0; k<13; k++)
19 for(j=0; j<8; j++)
20 for(i=0; i<8; i++)
21 {
22 if (img->type == I_SLICE)
23 C[k][j][i] = A[temp] << q;
24 D[k][j][i] = B[temp] << q;
25 }
26 }