[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 18:13:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60540
--- Comment #8 from Rich Felker <bugdal at aerifal dot cx> ---
> Floating point types are not guaranteed to support infinity by the C standard
Annex F (IEEE 754 alignment) does guarantee it, and GCC aims to implement this.
This issue report is specific to target sh*-*-* which uses either softfloat
with IEEE types and semantics or SH4 hardfloat which has IEEE types and
semantics. So arguments about generality to non-Annex-F C environments are not
relevant to the topic here.
More information about the Gcc-bugs
mailing list