1 /* PR rtl-optimization/56466 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O2 -w -funroll-loops" } */ 4 5 int a, b, c; 6 7 void f(void)8f (void) 9 { 10 for (; b; b++) 11 { 12 if (0) 13 for (; b < 0; b++) 14 if (1 % 0) 15 { 16 while (1) 17 { 18 a = 0; 19 lbl1: 20 c++; 21 } 22 lbl2: 23 ; 24 } 25 26 goto lbl1; 27 } 28 29 a = 0; 30 goto lbl2; 31 } 32