1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-tree-ccp -fno-tree-forwprop" } */
3 
4 void
iw(int gu,int mq,int r2)5 iw (int gu, int mq, int r2)
6 {
7   int yn = 0;
8 
9   while (gu < 1)
10     {
11       int ay = 0;
12 
13       for (;;)
14         ;
15 
16  bb:
17       while (ay < 1)
18         ++mq;
19     }
20 
21   if (yn != 0)
22     goto up;
23 
24   if (0)
25     {
26  up:
27       if (r2 == 0)
28         goto bb;
29     }
30 
31   goto up;
32 }
33