[Issue 21364] Passing a struct by-value adds padding that breaks argument access within the function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 9 09:42:26 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21364
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
Correction: both functions get the size of X right at 16.
But, the alignment of X should be 8. Function foo() gets it right, while main()
sees the alignment as 16.
--
More information about the Digitalmars-d-bugs
mailing list