1 /* { dg-do compile } */
2 /* { dg-options "-funswitch-loops" } */
3 
4 int a, b, c;
5 
f(void)6 void f(void)
7 {
8   if(b)
9     {
10       for(a = 0; a < 1; a++)
11 	lbl:
12 	    c = c && b ? : 0;
13 
14       c = 0;
15       goto lbl;
16     }
17 
18   if(a)
19     goto lbl;
20 }
21