1 /* { dg-do compile } */ 2 /* { dg-options "-ftree-loop-distribution -funswitch-loops -w" } */ 3 4 int a, b; 5 f(void)6void f(void) 7 { 8 lbl1: 9 for(b = 0; b < 1; b++) 10 { 11 int u = 1; 12 13 if((b %= 0) * (b ? 0 : a) - 1 && (u /= 0)) 14 { 15 int *q = &u, **k = q; 16 goto lbl1; 17 lbl2: 18 lbl3: 19 a = **k; 20 goto lbl2; 21 } 22 } 23 goto lbl3; 24 } 25