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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Two issues here that makes this undefined.
1) out of range conversion is undefined.  That is inf converted to an int does
not have a specified value.
2) inf is not a valid value for float when -ffast-math is specified  (fast math
implies finite math only).

Reply via email to