[Issue 24592] ImportC: Bitfield layout wrong for int64 on 32-bit Linux
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 17 00:31:09 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24592
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16590 "Fix bugzilla 24592 - ImportC: Bitfield layout
wrong for int64 on 32-b…" was merged into master:
- e427ca656d801bcc438afce7fd6fba94d0e860c5 by Tim Schendekehl:
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.
https://github.com/dlang/dmd/pull/16590
--
More information about the Digitalmars-d-bugs
mailing list