Hi all, This is a second iteration of patch which gets rid of float casts in comparisons when all values of casted integral type are exactly representable by the float type (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81376). The new version addresses issue spotted by Richard in previous version https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01119.html
Bootstrapped and regtested on x64_64. -Y
0001-Add-pattern-to-remove-useless-float-casts-in-compari.patch
Description: Binary data