[Issue 21952] ice for global / tls variable of type noreturn
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 12 20:18:44 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21952
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13163 "Fix 21952 - Don't
assert for global / tls variables of type noreturn" fixing this issue:
- 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