On February 14, 2017 4:19:05 PM GMT+01:00, "Bin.Cheng"
wrote:
>On Tue, Feb 14, 2017 at 2:48 PM, Richard Biener
>wrote:
>>
>> The following enables final value replacement for floating point
>> expressions if -funsafe-math-optimizations is set (that's the
>> flag the reassoc pass controls similar
On Tue, Feb 14, 2017 at 2:48 PM, Richard Biener wrote:
>
> The following enables final value replacement for floating point
> expressions if -funsafe-math-optimizations is set (that's the
> flag the reassoc pass controls similar transforms on).
Looks to me it's kind of abusing of current implement
On Tue, 14 Feb 2017, Jakub Jelinek wrote:
> On Tue, Feb 14, 2017 at 03:48:38PM +0100, Richard Biener wrote:
> > 2017-02-14 Richard Biener
> >
> > PR tree-optimization/79460
> > * tree-scalar-evolution.c (final_value_replacement_loop): Also
> > allow final value replacement of float
On Tue, Feb 14, 2017 at 03:48:38PM +0100, Richard Biener wrote:
> 2017-02-14 Richard Biener
>
> PR tree-optimization/79460
> * tree-scalar-evolution.c (final_value_replacement_loop): Also
> allow final value replacement of floating point expressions.
>
> * gcc.dg/tree-s
The following enables final value replacement for floating point
expressions if -funsafe-math-optimizations is set (that's the
flag the reassoc pass controls similar transforms on).
Bootstrapped / tested on x86_64-unknown-linux-gnu, queued for GCC 8.
Richard.
2017-02-14 Richard Biener