1 /* { dg-do compile } */ 2 /* { dg-options "-O3 -floop-nest-optimize" } */ 3 4 int dc, at; 5 6 void tv(int * ld,int jl)7tv (int *ld, int jl) 8 { 9 for (;;) 10 { 11 if (dc != 0) 12 for (;;) 13 { 14 *ld = !!(*ld) + 1; 15 for (dc = 0; dc < 3; ++dc) 16 at = (jl != 0) ? *ld : 0; 17 } 18 19 while (at != 0) 20 { 21 } 22 } 23 } 24