1 /* { dg-do compile } */
2 
3 int a, b;
4 
5 int
fn1(int p)6 fn1 (int p)
7 {
8   return 0 == 0 ? p : 0;
9 }
10 
11 void
fn2()12 fn2 ()
13 {
14   int c = 1, d[1] = { 1 };
15 lbl:
16   for (;;)
17     {
18       int e;
19       c ? 0 : 0 / c;
20       c = 0;
21       if (fn1 (d[0]))
22 	break;
23       for (e = 0; e < 1; e++)
24 	for (c = 1; b;)
25 	  {
26 	    if (a)
27 	      break;
28 	    goto lbl;
29 	  }
30     }
31 }
32