[Issue 21952] ice for global / tls variable of type noreturn
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 12 21:38:17 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21952
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13163 "Fix 21952 - Don't assert for global / tls
variables of type noreturn" was merged into stable:
- e5c0d2141caf147d1df644f16a1c8766ce0208e3 by MoonlightSentinel:
Fix 21952 - Don't assert for global / tls variables of type noreturn
The old code assumed variables of size 0 must be static arrays `T[0]`
but `noreturn.sizeof` is 0.
https://github.com/dlang/dmd/pull/13163
--
More information about the Digitalmars-d-bugs
mailing list