1 /* { dg-do compile } */
2 /* { dg-options "-O -funswitch-loops" } */
3 
4 void
jh(unsigned int aw,int sn)5 jh (unsigned int aw, int sn)
6 {
7   int xs;
8 
9   for (xs = 0; xs < 1; ++xs)
10     aw &= 1;
11 
12   while (aw < 1 || ++sn < 1)
13     {
14     }
15 }
16