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

2016-11-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16563

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

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

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

--


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

2016-10-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16563

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

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

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

--


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

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16563

--- Comment #6 from github-bugzi...@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

--


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

2016-10-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16563

--- Comment #5 from Martin Nowak  ---
(In reply to uplink.coder from comment #1)
> The reason is that the _scope of the AlignDeclarartion does not get set.

Yes, setScope isn't called for declarations in functions b/c there are no
forward references in functions, hence no scope for early lookups is needed.

--


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

2016-10-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16563

--- Comment #4 from Vladimir Panteleev  ---
(In reply to Martin Nowak from comment #3)
> When filing regressions for master please use the current development
> version as tag so we can more easily see which release is affected.

I don't think beta 1 was out at that point?

--


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

2016-10-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16563

Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu
Summary|[REG HEAD] Wrong struct |[REG 2.072.0-b1] Wrong
   |size/alignment in local |struct size/alignment in
   |struct  |local struct

--- Comment #3 from Martin Nowak  ---
When filing regressions for master please use the current development version
as tag so we can more easily see which release is affected.

--