1 /* { dg-do compile } */ 2 /* { dg-options "-O3 -floop-nest-optimize" } */ 3 4 int tj, cw, xf; 5 6 void zp(int * ei)7zp (int *ei) 8 { 9 for (;;) 10 { 11 int hd = 0; 12 13 if (cw != 0 && xf != 0) 14 { 15 for (hd = 0; hd < 3; ++hd) 16 cw = (tj != 0) ? 0 : *ei; 17 for (;;) 18 ; 19 } 20 21 while (tj != 0) 22 tj = (__UINTPTR_TYPE__)&hd; 23 } 24 } 25