Re: [patch] Fix oversight in tuplification of DOM

2011-06-30 Thread Eric Botcazou
> 2011-06-28 Eric Botcazou > > * tree-ssa-dom.c (initialize_hash_element): Fix oversight. As reported under PR tree-optimization/49572, using the type of the LHS like in the other cases leads to optimization regressions. The attached patch changes this to use the type of RHS instead in

Re: [patch] Fix oversight in tuplification of DOM

2011-06-29 Thread Richard Guenther
On Tue, Jun 28, 2011 at 10:36 PM, Eric Botcazou wrote: > Hi, > > the attached testcase triggers an ICE when compiled at -O or above, on all the > open branches.  This is a regression introduced with the tuplification.  The > problem is that 2 ARRAY_RANGE_REFs are recognized as equivalent, although

Re: [patch] Fix oversight in tuplification of DOM

2011-06-28 Thread Hans-Peter Nilsson
On Tue, 28 Jun 2011, Eric Botcazou wrote: > Hi, > > the attached testcase triggers an ICE when compiled at -O or above, on all the > open branches. This is a regression introduced with the tuplification. The > problem is that 2 ARRAY_RANGE_REFs are recognized as equivalent, although they > don't

Re: [patch] Fix oversight in tuplification of DOM

2011-06-28 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/28/11 14:36, Eric Botcazou wrote: > Hi, > > the attached testcase triggers an ICE when compiled at -O or above, on all > the > open branches. This is a regression introduced with the tuplification. The > problem is that 2 ARRAY_RANGE_REFs a

[patch] Fix oversight in tuplification of DOM

2011-06-28 Thread Eric Botcazou
Hi, the attached testcase triggers an ICE when compiled at -O or above, on all the open branches. This is a regression introduced with the tuplification. The problem is that 2 ARRAY_RANGE_REFs are recognized as equivalent, although they don't have the same number of elements. This is so beca