Re: [patch] Fix oversight in tuplification of DOM

2011-06-30 Thread Eric Botcazou
2011-06-28 Eric Botcazou ebotca...@adacore.com * 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

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 ebotca...@adacore.com 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

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 are

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 have