RE: [PATCH] Fix PR tree-optimization/58137

2013-09-05 Thread Bernd Edlinger
On Thu, 5 Sep 2013 12:25:08, Richard Biener wrote: > On Thu, Sep 5, 2013 at 11:43 AM, Bernd Edlinger > wrote: >> >> this would cause an ICE in test case 2629-1.c... > > Well, that's easily fixable. > >> So removing the pointer of vectors is not an option. > > Let me nevertheless try this. > >

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

2013-09-05 Thread Richard Biener
On Thu, Sep 5, 2013 at 11:43 AM, Bernd Edlinger wrote: > On Tue, 3 Sep 2013 10:38:33, Richard Biener wrote: >> I'd rather go with the simple fix as the issue in forwprop is at least >> latent. We can >> improve on the code-gen as followup where I believe handling of >> POINTER_PLUS_EXPR >> would n

RE: [PATCH] Fix PR tree-optimization/58137

2013-09-05 Thread Bernd Edlinger
On Tue, 3 Sep 2013 10:38:33, Richard Biener wrote: > I'd rather go with the simple fix as the issue in forwprop is at least > latent. We can > improve on the code-gen as followup where I believe handling of > POINTER_PLUS_EXPR > would need to be added (that we avoid POINTER_PLUS_EXPR for vectors is

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

2013-09-03 Thread Richard Biener
On Mon, Sep 2, 2013 at 8:53 PM, Bernd Edlinger wrote: > On Fri, 30 Aug 2013 12:34:51 Richard Biener wrote: >> On Tue, Aug 20, 2013 at 1:01 PM, Bernd Edlinger >> wrote: >>> This patch fixes a bug in the vectorized pointer arithmetic in the forwprop >>> optimization pass. >>> >>> Although it seems

RE: [PATCH] Fix PR tree-optimization/58137

2013-09-02 Thread Bernd Edlinger
On Fri, 30 Aug 2013 12:34:51 Richard Biener wrote: > On Tue, Aug 20, 2013 at 1:01 PM, Bernd Edlinger > wrote: >> This patch fixes a bug in the vectorized pointer arithmetic in the forwprop >> optimization pass. >> >> Although it seems to be impossible to create a vector of pointers with the >> __a

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

2013-08-30 Thread Richard Biener
On Tue, Aug 20, 2013 at 1:01 PM, Bernd Edlinger wrote: > This patch fixes a bug in the vectorized pointer arithmetic in the forwprop > optimization pass. > > Although it seems to be impossible to create a vector of pointers with the > __attribute__((vector_size(x))) syntax, the vector loop optimiz