Commit graph

2 commits

Author SHA1 Message Date
Tim Schendekehl
cce6c95fe0
Fix bugzilla 24651 - Bitfield layout wrong for 48-bit field on 32-bit Linux (#16667) 2024-07-07 07:36:37 +08:00
Tim Schendekehl
4c82050e94 Fix bugzilla 24592 - ImportC: Bitfield layout wrong for int64 on 32-bit Linux
Type ulong is 64-bit on 32-bit Linux, but has 32-bit alignment.
This affects the layout of bitfields.

Also add a new test for ImportC bitfields, which compares size,
alignment and layout with the host C++ compiler. The existing
tests compared with fixed values instead.
2024-06-17 02:31:02 +02:00