1 /* { dg-do compile } */ 2 /* { dg-options "-O1 -floop-nest-optimize" } */ 3 4 unsigned int z4, pz; 5 int nn[2]; 6 7 static unsigned int xq(unsigned int dj)8xq (unsigned int dj) 9 { 10 return dj > 1 ? z4 : z4 + dj; 11 } 12 13 void la(void)14la (void) 15 { 16 int hd, dl; 17 unsigned int hn = 0; 18 19 for (hd = 0; hd < 2; ++hd) 20 { 21 for (dl = 0; dl < 2; ++dl) 22 nn[dl] = 0; 23 --hn; 24 pz = xq (hn); 25 } 26 } 27