https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123454
Bug ID: 123454
Summary: d: error overlapping initializer for bitfield with
-m32 -fpreview=bitfields
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ibuclaw at gcc dot gnu.org
Target Milestone: ---
```
struct T
{
uint a : 1;
union {
struct {
uint : 2;
uint c : 3;
}
}
}
```
When compiled with -m64, the anonymous bitfield has a bit offset of `0`, but
this ends up being `34359738336` on -m32.