[Issue 21952] ice for global / tls variable of type noreturn
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 13 13:17:27 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21952
--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13164 "Merge stable" was merged into master:
- b2555a70cb87da257c46a1f6a017857c78ffdac3 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/13164
--
More information about the Digitalmars-d-bugs
mailing list