[patch] Fix oversight in tuplification of DOM
Hans-Peter Nilsson
hp@bitrange.com
Wed Jun 29 07:32:00 GMT 2011
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 the same number of elements. This is so because their type isn't
> taken into account by the hash equality function as it simply isn't recorded
> in initialize_hash_element (GIMPLE_SINGLE_RHS case). Now in all the other
> cases it is recorded so this very likely is an oversight.
>
> Tested on x86_64-suse-linux, OK for all branches?
>
>
> 2011-06-28 Eric Botcazou <ebotcazou@adacore.com>
>
> * tree-ssa-dom.c (initialize_hash_element): Fix oversight.
This caused a regression on 4.4 for cris-elf (at least), see
PR49572.
brgds, H-P
More information about the Gcc-patches
mailing list