PATCH: PR rtl-optimization/39241: [4.4 Regression] ICE in =?iso-8859-1?q?=09subreg=5Fget=5Finfo?=, at rtlanal.c:3104

Eric Botcazou ebotcazou@adacore.com
Wed Feb 25 15:06:00 GMT 2009


On Friday 20 February 2009 02:20:32 H.J. Lu wrote:
> On Wed, Aug 6, 2008 at 7:12 AM, Ian Lance Taylor <iant@google.com> wrote:
> > "Joseph S. Myers" <joseph@codesourcery.com> writes:
> >> 2008-08-02  Joseph Myers  <joseph@codesourcery.com>
> >>
> >>       * jump.c (rtx_renumbered_equal_p): Do not call subreg_regno_offset
> >>       for unrepresentable subregs or treat them as equal to other regs
> >>       or subregs with the same register number.
> >
> > This is OK.
> >
> > Thanks.
>
> This patch may call subreg_offset_representable_p on pseudo registers,
> which causes ICE, as shown in
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39241

Why not remove the 2 problematic calls to subreg_offset_representable_p?  
According to Joseph's original submission, they are superfluous.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list