aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr113735.c
blob: 7b8649992773da3d8cc618f481c2dc407c3ae1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do compile { target bitint } }
// { dg-options "-O1" }

char b;
void bar (void);

#if __BITINT_MAXWIDTH__ >= 6110
void
foo (_BitInt(6110) j)
{
  for (;;)
    {
      _BitInt(10) k = b % j;
      for (j = 6; j; --j)
        if (k)
          bar ();
    }
}
#endif