2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr68756.c
blobddb9789f133a86bd7c22694ac1fc1170520f8b68
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -floop-nest-optimize" } */
4 unsigned int z4, pz;
5 int nn[2];
7 static unsigned int
8 xq (unsigned int dj)
10 return dj > 1 ? z4 : z4 + dj;
13 void
14 la (void)
16 int hd, dl;
17 unsigned int hn = 0;
19 for (hd = 0; hd < 2; ++hd)
21 for (dl = 0; dl < 2; ++dl)
22 nn[dl] = 0;
23 --hn;
24 pz = xq (hn);