blob: 2c3139c95608c671b3d91aaac8916c9977977a75 [file] [log] [blame]
/* PR tree-optimization/113120 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-std=c23 -O2" } */
_BitInt(8) a;
_BitInt(55) b;
#if __BITINT_MAXWIDTH__ >= 401
static __attribute__((noinline, noclone)) void
foo (unsigned _BitInt(1) c, _BitInt(401) d)
{
c /= d << b;
a = c;
}
void
bar (void)
{
foo (1, 4);
}
#endif
#if __BITINT_MAXWIDTH__ >= 6928
_BitInt(6928)
baz (int x, _BitInt(6928) y)
{
if (x)
return y;
else
return 0;
}
#endif