Re: [PATCH][RFC] Fix P1 PR77498

2017-04-03 Thread Richard Biener
On Fri, 31 Mar 2017, Bin.Cheng wrote: > On Fri, Mar 31, 2017 at 2:57 PM, Bin.Cheng wrote: > > On Fri, Mar 31, 2017 at 11:37 AM, Richard Biener wrote: > >> On Fri, 31 Mar 2017, Markus Trippelsdorf wrote: > >> > >>> On 2017.03.31 at 11:16 +0200, Richard

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Rainer Orth
Hi Bin, > Here is the patch. Test result checked on arm-none-eabi. Is it OK? it passes on sparc-sun-solaris2.12, too. Thanks. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Bin.Cheng
On Fri, Mar 31, 2017 at 2:57 PM, Bin.Cheng wrote: > On Fri, Mar 31, 2017 at 11:37 AM, Richard Biener wrote: >> On Fri, 31 Mar 2017, Markus Trippelsdorf wrote: >> >>> On 2017.03.31 at 11:16 +0200, Richard Biener wrote: >>> > On Fri, 31 Mar 2017, Richard

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Bin.Cheng
On Fri, Mar 31, 2017 at 11:37 AM, Richard Biener wrote: > On Fri, 31 Mar 2017, Markus Trippelsdorf wrote: > >> On 2017.03.31 at 11:16 +0200, Richard Biener wrote: >> > On Fri, 31 Mar 2017, Richard Biener wrote: >> > >> > > On Fri, 31 Mar 2017, Rainer Orth wrote: >> > > >> > > >

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Richard Biener
On Fri, 31 Mar 2017, Markus Trippelsdorf wrote: > On 2017.03.31 at 11:16 +0200, Richard Biener wrote: > > On Fri, 31 Mar 2017, Richard Biener wrote: > > > > > On Fri, 31 Mar 2017, Rainer Orth wrote: > > > > > > > Hi Christophe, > > > > > > > > > With this patch, the following testcase now

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Markus Trippelsdorf
On 2017.03.31 at 11:16 +0200, Richard Biener wrote: > On Fri, 31 Mar 2017, Richard Biener wrote: > > > On Fri, 31 Mar 2017, Rainer Orth wrote: > > > > > Hi Christophe, > > > > > > > With this patch, the following testcase now fails on arm* targets: > > > > gcc.dg/tree-ssa/pr71347.c

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Richard Biener
On Fri, 31 Mar 2017, Richard Biener wrote: > On Fri, 31 Mar 2017, Rainer Orth wrote: > > > Hi Christophe, > > > > > With this patch, the following testcase now fails on arm* targets: > > > gcc.dg/tree-ssa/pr71347.c scan-tree-dump-not optimized ".* = MEM.*;" > > > > same on Solaris/SPARC. > >

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Richard Biener
On Fri, 31 Mar 2017, Rainer Orth wrote: > Hi Christophe, > > > With this patch, the following testcase now fails on arm* targets: > > gcc.dg/tree-ssa/pr71347.c scan-tree-dump-not optimized ".* = MEM.*;" > > same on Solaris/SPARC. I've reverted r241968 with (patch reverted). It doesn't include

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Richard Biener
On Fri, 31 Mar 2017, Christophe Lyon wrote: > Hi Richard, > > > On 30 March 2017 at 09:13, Richard Biener wrote: > > On Wed, 29 Mar 2017, Jeff Law wrote: > > > >> On 03/29/2017 04:05 AM, Richard Biener wrote: > >> > > >> > After quite some pondering over this and other

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Rainer Orth
Hi Christophe, > With this patch, the following testcase now fails on arm* targets: > gcc.dg/tree-ssa/pr71347.c scan-tree-dump-not optimized ".* = MEM.*;" same on Solaris/SPARC. Rainer -- - Rainer Orth, Center

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-31 Thread Christophe Lyon
Hi Richard, On 30 March 2017 at 09:13, Richard Biener wrote: > On Wed, 29 Mar 2017, Jeff Law wrote: > >> On 03/29/2017 04:05 AM, Richard Biener wrote: >> > >> > After quite some pondering over this and other related bugs I propose >> > the following for GCC 7 which tames down

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-30 Thread Richard Biener
On Wed, 29 Mar 2017, Jeff Law wrote: > On 03/29/2017 04:05 AM, Richard Biener wrote: > > > > After quite some pondering over this and other related bugs I propose > > the following for GCC 7 which tames down PRE a bit (back to levels > > of GCC 6). Technically it's the wrong place to fix this,

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-29 Thread Jeff Law
On 03/29/2017 04:05 AM, Richard Biener wrote: After quite some pondering over this and other related bugs I propose the following for GCC 7 which tames down PRE a bit (back to levels of GCC 6). Technically it's the wrong place to fix this, we do have measures in place during elimination but

Re: [PATCH][RFC] Fix P1 PR77498

2017-03-29 Thread Bin.Cheng
On Wed, Mar 29, 2017 at 11:05 AM, Richard Biener wrote: > > After quite some pondering over this and other related bugs I propose > the following for GCC 7 which tames down PRE a bit (back to levels > of GCC 6). Technically it's the wrong place to fix this, we do > have

[PATCH][RFC] Fix P1 PR77498

2017-03-29 Thread Richard Biener
After quite some pondering over this and other related bugs I propose the following for GCC 7 which tames down PRE a bit (back to levels of GCC 6). Technically it's the wrong place to fix this, we do have measures in place during elimination but they are not in effect at -O2. For GCC 8 I'd like