Thread overview
[Issue 22858] [REG2.099] Incorrect alignment of void*[0]
Mar 08, 2022
Dlang Bot
Mar 08, 2022
Dlang Bot
Mar 27, 2022
Dlang Bot
March 07, 2022
https://issues.dlang.org/show_bug.cgi?id=22858

johanengelen@weka.io changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry, wrong-code

--
March 07, 2022
https://issues.dlang.org/show_bug.cgi?id=22858

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel@disroot.org ---
Introduced by https://github.com/dlang/dmd/pull/13142

--
March 08, 2022
https://issues.dlang.org/show_bug.cgi?id=22858

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13777 "Fix 22858 - Don't skip alignment of zero-sized fields" fixing this issue:

- 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/13777

--
March 08, 2022
https://issues.dlang.org/show_bug.cgi?id=22858

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #13777 "Fix 22858 - Don't skip alignment of zero-sized fields" was merged into stable:

- e2a9d45a2e27074893c8e8c5f63cf56f95b9764a 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/13777

--
March 27, 2022
https://issues.dlang.org/show_bug.cgi?id=22858

--- Comment #4 from Dlang Bot <dlang-bot@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

--