https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128535
Bug ID: 128535
Summary: internal compiler error: in
output_constructor_bitfield, at varasm.cc
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: 0599jiangyc at gmail dot com
Target Milestone: ---
The following code:
```cpp
struct s {
short a : -11UL;
short b : 3;
};
struct s p = { 15, 7 };
```
Resulted in this output:
```
<source>:5:23: internal compiler error: in output_constructor_bitfield, at
varasm.cc:5988
```
Trunk reproducer: https://godbolt.org/z/zr6TafGdE