[Issue 23390] value of void initialized variable is unspecified (and not subject to UB)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 6 14:14:21 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23390
elpenguino+D at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |elpenguino+D at gmail.com
--- Comment #1 from elpenguino+D at gmail.com ---
The current wording allows compilers to put values like NaNs in void
initialized variables, to make it easier to catch cases where the value is used
before it's set. This change would forbid that, and I don't see any benefit to
doing so.
--
More information about the Digitalmars-d-bugs
mailing list