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

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Tue Aug 17 22:51:07 GMT 2021


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

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
-32000.0 is outside the range of uint32_t, thus the conversion is undefined.


More information about the Gcc-bugs mailing list