[PATCH] Fix PR tree-optimization/77550

2016-09-18 Thread Bernd Edlinger
Hi, this PR shows that in vectorizable_store and vectorizable_load as well, the vector access always uses the first dr as the alias type for the whole access. But that is not right, if they are different types, like in this example. So I tried to replace all reference_alias_ptr_type (DR_REF (fir

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-19 Thread Richard Biener
On Sun, 18 Sep 2016, Bernd Edlinger wrote: > Hi, > > this PR shows that in vectorizable_store and vectorizable_load > as well, the vector access always uses the first dr as the alias > type for the whole access. But that is not right, if they are > different types, like in this example. > > So

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-19 Thread Bernd Edlinger
On 09/19/16 11:25, Richard Biener wrote: > On Sun, 18 Sep 2016, Bernd Edlinger wrote: > >> Hi, >> >> this PR shows that in vectorizable_store and vectorizable_load >> as well, the vector access always uses the first dr as the alias >> type for the whole access. But that is not right, if they are >

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-20 Thread Richard Biener
On Mon, 19 Sep 2016, Bernd Edlinger wrote: > On 09/19/16 11:25, Richard Biener wrote: > > On Sun, 18 Sep 2016, Bernd Edlinger wrote: > > > >> Hi, > >> > >> this PR shows that in vectorizable_store and vectorizable_load > >> as well, the vector access always uses the first dr as the alias > >> type

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-20 Thread Bernd Edlinger
On 09/20/16 09:41, Richard Biener wrote: > On Mon, 19 Sep 2016, Bernd Edlinger wrote: > >> On 09/19/16 11:25, Richard Biener wrote: >>> On Sun, 18 Sep 2016, Bernd Edlinger wrote: >>> Hi, this PR shows that in vectorizable_store and vectorizable_load as well, the vector access al

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-21 Thread Richard Biener
On Tue, 20 Sep 2016, Bernd Edlinger wrote: > On 09/20/16 09:41, Richard Biener wrote: > > On Mon, 19 Sep 2016, Bernd Edlinger wrote: > > > >> On 09/19/16 11:25, Richard Biener wrote: > >>> On Sun, 18 Sep 2016, Bernd Edlinger wrote: > >>> > Hi, > > this PR shows that in vectorizable_

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-21 Thread Christophe Lyon
On 21 September 2016 at 09:16, Richard Biener wrote: > On Tue, 20 Sep 2016, Bernd Edlinger wrote: > >> On 09/20/16 09:41, Richard Biener wrote: >> > On Mon, 19 Sep 2016, Bernd Edlinger wrote: >> > >> >> On 09/19/16 11:25, Richard Biener wrote: >> >>> On Sun, 18 Sep 2016, Bernd Edlinger wrote: >> >

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-21 Thread Bernd Edlinger
On 09/21/16 21:57, Christophe Lyon wrote: > Hi, > > The new testcase pr77550.C fails on arm: > /testsuite/g++.dg/pr77550.C:39:43: error: 'operator new' takes type > 'size_t' ('unsigned int') as first parameter [-fpermissive] > compiler exited with status 1 > > Christophe > Yes, I see, thanks. Thi

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-22 Thread Richard Biener
On Wed, 21 Sep 2016, Bernd Edlinger wrote: > On 09/21/16 21:57, Christophe Lyon wrote: > > Hi, > > > > The new testcase pr77550.C fails on arm: > > /testsuite/g++.dg/pr77550.C:39:43: error: 'operator new' takes type > > 'size_t' ('unsigned int') as first parameter [-fpermissive] > > compiler exite

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-22 Thread Christophe Lyon
On 21 September 2016 at 22:20, Bernd Edlinger wrote: > On 09/21/16 21:57, Christophe Lyon wrote: >> Hi, >> >> The new testcase pr77550.C fails on arm: >> /testsuite/g++.dg/pr77550.C:39:43: error: 'operator new' takes type >> 'size_t' ('unsigned int') as first parameter [-fpermissive] >> compiler e

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-22 Thread Bernd Edlinger
On 09/22/16 21:30, Christophe Lyon wrote: > On 21 September 2016 at 22:20, Bernd Edlinger > wrote: >> On 09/21/16 21:57, Christophe Lyon wrote: >>> Hi, >>> >>> The new testcase pr77550.C fails on arm: >>> /testsuite/g++.dg/pr77550.C:39:43: error: 'operator new' takes type >>> 'size_t' ('unsigned

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-26 Thread Christophe Lyon
On 22 September 2016 at 22:30, Bernd Edlinger wrote: > On 09/22/16 21:30, Christophe Lyon wrote: >> On 21 September 2016 at 22:20, Bernd Edlinger >> wrote: >>> On 09/21/16 21:57, Christophe Lyon wrote: Hi, The new testcase pr77550.C fails on arm: /testsuite/g++.dg/pr77550.C:3

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-26 Thread Bernd Edlinger
On 09/26/16 21:19, Christophe Lyon wrote: > > Sorry for the delay, I've been travelling. > > Compilation is: > .../xg++ > -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/gcc/testsuite/g++/../../ > /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/pr77550.C > g++_tg.o -fno-diagno

Re: [PATCH] Fix PR tree-optimization/77550

2016-09-26 Thread Christophe Lyon
On 26 September 2016 at 22:09, Bernd Edlinger wrote: > On 09/26/16 21:19, Christophe Lyon wrote: >> >> Sorry for the delay, I've been travelling. >> >> Compilation is: >> .../xg++ >> -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/gcc/testsuite/g++/../../ >> /aci-gcc-fsf/sources/gcc-f