libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-103.c
blob4d8104959a1627da9d1a677053170e7f6f047279
1 /* PR tree-optimization/114555 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23 -O2" } */
5 #if __BITINT_MAXWIDTH__ >= 1225
6 struct S { _BitInt(512) : 98; _BitInt(1225) b : 509; } s;
7 _BitInt(1225) a;
8 #endif
10 void
11 foo (void)
13 #if __BITINT_MAXWIDTH__ >= 1225
14 a ^= (unsigned _BitInt(1025)) s.b;
15 #endif