blob: 2474660c4aa779ba7e1580c24f11ec555a3f8a33 [file] [log] [blame]
/* PR tree-optimization/112940 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-std=c23 -O2" } */
#if __BITINT_MAXWIDTH__ >= 1025
_BitInt (1025) b;
#endif
void
foo (long x)
{
#if __BITINT_MAXWIDTH__ >= 1025
b += (unsigned _BitInt (255)) x;
#else
(void) x;
#endif
}