[PATCH, pretty-ipa] Fix wave ICE in SRA

Richard Guenther richard.guenther@gmail.com
Sat May 2 09:52:00 GMT 2009


On Sat, May 2, 2009 at 11:25 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Ok, that shows up a suitable fix here.  Note that I don't agree that
>> get_inner_reference
>> (or in this case get_ref_base_and_extent) should be not called on
>> decls, that only
>> puts extra burdens on the caller.
>
> Well, the name and the purpose of get_inner_reference are rather clear, and
> the interface is clearly specified, for once, so I'd try to stick to it.

Sure, we're talking about get_ref_base_and_extent (which is largely a copy of
get_inner_reference).  It is supposed to collect information about a memory
reference in general, thus singling out plain decls doesn't sound
convenient here.

Richard.

> --
> Eric Botcazou
>



More information about the Gcc-patches mailing list