[Issue 16563] [REG 2.072.0-b1] Wrong struct size/alignment in local struct

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Oct 14 22:48:13 PDT 2016


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

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

https://github.com/dlang/dmd/commit/07bbf2d0ef547339dee5e886a1a924691c3eb8b8
fix Issue 16563 - wrong alignment in function

- function local declarations don't have the setScope pass b/c there are
  no forward references, therefor AlignDeclaration must not rely on
  setScope being called
- pass Scope to getAlignment instead, either the normal semantic2 one or
  the one from Scope.alignment

https://github.com/dlang/dmd/commit/bf1c25d74964ab3d32d91ecd37f00b99919e5bee
Merge pull request #6196 from MartinNowak/fix16563

fix Issue 16563 - wrong alignment in function

--


More information about the Digitalmars-d-bugs mailing list