[Issue 22858] [REG2.099] Incorrect alignment of void*[0]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 27 02:24:28 UTC 2022


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

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13892 "Merge stable into master" was merged into
master:

- 94be6147c244f291c1f035499b5e1bf44c874e54 by MoonlightSentinel:
  Fix 22858 - Don't skip alignment of zero-sized fields

  The exception for `noreturn` should've checked for `T.alignof == 0`
  instead of `T.sizeof == 0` which also applies to zero-sized arrays.

https://github.com/dlang/dmd/pull/13892

--


More information about the Digitalmars-d-bugs mailing list