Re: [PATCH][PING][PR 81376] Remove unnecessary float casts in comparisons

2017-10-09 Thread Richard Biener
On Mon, Oct 9, 2017 at 11:12 AM, Yuri Gribov wrote: > Hi all, > > This patch 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). > > Bootstrapped and regtested on x64_64

[PATCH][PING][PR 81376] Remove unnecessary float casts in comparisons

2017-10-09 Thread Yuri Gribov
Hi all, This patch 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). Bootstrapped and regtested on x64_64. Ok to commit? -Y pr81376-1.patch Description: Binary data