| 1 |
/* PR tree-optimization/114329 */ |
| 2 |
/* { dg-do compile { target bitint } } */ |
| 3 |
/* { dg-options "-std=c23" } */ |
| 4 |
|
| 5 |
#if __BITINT_MAXWIDTH__ >= 129 |
| 6 |
#define N 129 |
| 7 |
#else |
| 8 |
#define N 63 |
| 9 |
#endif |
| 10 |
|
| 11 |
struct S { _BitInt(N) b : N; } s; |
| 12 |
|
| 13 |
void |
| 14 |
foo (void) |
| 15 |
{ |
| 16 |
s.b ^= 42; |
| 17 |
} |