[Issue 17277] Member and aggregate alignment semantics

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 28 05:02:52 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17277

--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/9180e57bdd4a6330217be5fcefc30f965b0d365b
Fix alignment/size of packed aggregates (issue #17277)

Change the definition of an aggregate's overall alignment from maximum of
each field's `max(natural type alignment, optional alignment attribute)`
to maximum of each field's actual alignment (which may be less than its
type's natural alignment).

https://github.com/dlang/dmd/commit/6fc815992b66938e093fff537724614fddc06ad2
Merge pull request #6754 from kinke/fix17277

Fix alignment/size of packed aggregates (issue #17277)
merged-on-behalf-of: Daniel Murphy <yebblies at gmail.com>

--


More information about the Digitalmars-d-bugs mailing list