PR ipa/61602
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr26222.c
blobb580db67354eb21ef4e8025be69de27d63f51678
1 /* { dg-do compile } */
2 /* { dg-options "-fno-tree-pre -fno-tree-loop-im" } */
4 void putShort (int, int);
6 int t2;
7 void f(int t1)
9 int clutOffset = 52 + 256 * 3 * 2;
10 int x, y, z;
11 for (x = 0; x < 16; x++)
12 for (y = 0; y < 16; y++)
13 for (z = 0; z < 16; z++)
15 int offset = clutOffset + z * 6 + y * 16 * 6 + x * 16 * 16 * 6;
16 double xf = ((double) x) / ((double) 16 - 1.0);
17 double tt = xf;
18 putShort(offset, tt);