blob: b4aac83137be4405d8ef0733e0046c1df0702ed0 [file] [log] [blame]
/* PR tree-optimization/114555 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-std=c23 -O -fno-tree-forwprop" } */
#if __BITINT_MAXWIDTH__ >= 4139
struct S { _BitInt(31) : 6; _BitInt(513) b : 241; } s;
_BitInt(4139) a;
#endif
void
foo (void)
{
#if __BITINT_MAXWIDTH__ >= 4139
int i = 0;
a -= s.b << i;
#endif
}