[Bug tree-optimization/60540] Don't convert int to float when comparing int with float (double) constant
bugdal at aerifal dot cx
gcc-bugzilla@gcc.gnu.org
Fri Oct 18 15:45:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60540
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #6 from Rich Felker <bugdal at aerifal dot cx> ---
> Only if the int is out of float's range.
float's range is [-INF,INF] (endpoints included). There is no such thing as
"out of float's range".
More information about the Gcc-bugs
mailing list