| 1 |
/* PR middle-end/114084 */ |
| 2 |
/* { dg-do compile { target bitint } } */ |
| 3 |
/* { dg-options "-std=c23 -pedantic-errors" } */ |
| 4 |
|
| 5 |
typedef unsigned _BitInt(31) T; |
| 6 |
T a, b; |
| 7 |
|
| 8 |
void |
| 9 |
foo (void) |
| 10 |
{ |
| 11 |
b = (T) ((a | (-1U >> 1)) >> 1 | (a | 5) << 4); |
| 12 |
} |