summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr81455.c
blob: 8ab88639ee83a62ca667f1698266281c79559049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O -funswitch-loops" } */

void
jh (unsigned int aw, int sn)
{
  int xs;

  for (xs = 0; xs < 1; ++xs)
    aw &= 1;

  while (aw < 1 || ++sn < 1)
    {
    }
}