Re: [PR71252][PR71269] Fix trunk errors due to stmt_to_insert

2016-05-27 Thread Richard Biener
On Fri, May 27, 2016 at 2:36 PM, Kugan Vivekanandarajah wrote: > Hi Richard, > > On 27 May 2016 at 19:56, Richard Biener wrote: >> On Thu, May 26, 2016 at 11:32 AM, Kugan Vivekanandarajah >> wrote: >>> Hi Jakub, >>> >>> >>> On 26 May 2016 at 18:18, Jakub Jelinek wrote: On Thu, May 26, 2016

Re: [PR71252][PR71269] Fix trunk errors due to stmt_to_insert

2016-05-27 Thread Richard Biener
On Thu, May 26, 2016 at 11:32 AM, Kugan Vivekanandarajah wrote: > Hi Jakub, > > > On 26 May 2016 at 18:18, Jakub Jelinek wrote: >> On Thu, May 26, 2016 at 02:17:56PM +1000, Kugan Vivekanandarajah wrote: >>> --- a/gcc/tree-ssa-reassoc.c >>> +++ b/gcc/tree-ssa-reassoc.c >>> @@ -3767,8 +3767,10 @@ s

Re: [PR71252][PR71269] Fix trunk errors due to stmt_to_insert

2016-05-26 Thread Kugan Vivekanandarajah
Hi Jakub, On 26 May 2016 at 18:18, Jakub Jelinek wrote: > On Thu, May 26, 2016 at 02:17:56PM +1000, Kugan Vivekanandarajah wrote: >> --- a/gcc/tree-ssa-reassoc.c >> +++ b/gcc/tree-ssa-reassoc.c >> @@ -3767,8 +3767,10 @@ swap_ops_for_binary_stmt (vec ops, >>operand_entry temp = *oe3; >>

Re: [PR71252][PR71269] Fix trunk errors due to stmt_to_insert

2016-05-26 Thread Jakub Jelinek
On Thu, May 26, 2016 at 02:17:56PM +1000, Kugan Vivekanandarajah wrote: > --- a/gcc/tree-ssa-reassoc.c > +++ b/gcc/tree-ssa-reassoc.c > @@ -3767,8 +3767,10 @@ swap_ops_for_binary_stmt (vec ops, >operand_entry temp = *oe3; >oe3->op = oe1->op; >oe3->rank = oe1->rank; > +

[PR71252][PR71269] Fix trunk errors due to stmt_to_insert

2016-05-25 Thread Kugan Vivekanandarajah
Hi, Sorry for the breakage due to the changes to tree-reassoc. Attached patch fixes this. I have tested the patch with spec2006 and cp2k_single_file.f90 from PR71252 in a x86-640linux-gnu. ./build/gcc/f951 cp2k_single_file.f90 -O3 -ffast-math -march=westmere works fine. Tested testcase from PR