[Bug c/69088] type conversion to int

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Wed Dec 30 16:56:00 GMT 2015


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

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

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Inf is not a finite value in the range of int, thus the conversion invokes
undefined behaviour.


More information about the Gcc-bugs mailing list