1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* 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 }