This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Committed: fix build error for cris-*-* due to rtx canonicalization change
On Tue, 2008-04-08 at 21:54 +0200, Richard Guenther wrote:
> On Tue, Apr 8, 2008 at 9:00 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
> > Index: explow.c
> > ===================================================================
> > --- explow.c (revision 134095)
> > +++ explow.c (working copy)
> > @@ -305,7 +305,7 @@ break_out_memory_refs (rtx x)
> > rtx op1 = break_out_memory_refs (XEXP (x, 1));
> >
> > if (op0 != XEXP (x, 0) || op1 != XEXP (x, 1))
> > - x = gen_rtx_fmt_ee (GET_CODE (x), Pmode, op0, op1);
> > + x = simplify_gen_binary (GET_CODE (x), Pmode, op0, op1);
> > }
> >
> > return x;
> >
>
> IMHO that looks sensible. This is ok if it passes bootstrap & testing.
Ok, this passed bootstrapping and regtesting with no regressions, so I
committed it as revision 134139. Thanks.
Peter