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

2018-04-27 Thread Jeff Law
On 02/19/2018 12:47 PM, Richard Sandiford wrote: > Yuri Gribov writes: >> 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_b

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

2018-02-19 Thread Richard Sandiford
Yuri Gribov writes: > 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 Richard's r

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

2018-02-19 Thread Yuri Gribov
On Sun, Feb 18, 2018 at 8:46 PM, Jeff Law wrote: > On 02/18/2018 11:52 AM, Yuri Gribov wrote: >> 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.

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

2018-02-18 Thread Jeff Law
On 02/18/2018 11:52 AM, Yuri Gribov wrote: > 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