aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr68088_1.c
blob: 49c6aa1454335be8748d899f9a83092a539ff17e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O2" } */

void bar (unsigned long);

void
foo (unsigned long aul, unsigned m, unsigned i)
{
  while (1)
    {
      aul += i;
      i = aul % m;
      bar (aul);
    }
}