[Bug c/101953] bug on the default cast operator from double to unsigned short

mlwmohawk at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 18 03:37:56 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953

M W <mlwmohawk at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #19 from M W <mlwmohawk at gmail dot com> ---
There is a difference between "undefined" and "unpredictable." If returning "0"
instead of a binary representation of the number amounts to "undefined" (like
every other platform) then I think you are wrong. 

Done.


More information about the Gcc-bugs mailing list