This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping: [PATCH] PR 30315 Canonicalize overflow checks in simplify-rtx.c
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: rask at sygehus dot dk
- Cc: hans-peter dot nilsson at axis dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Sep 2007 12:18:24 +0200
- Subject: Re: Ping: [PATCH] PR 30315 Canonicalize overflow checks in simplify-rtx.c
> Date: Mon, 10 Sep 2007 11:36:57 +0200
> From: Rask Ingemann Lambertsen <rask@sygehus.dk>
> > Uhm, you need to add "&& !rtx_equal_p (op1, XEXP (op0, 0))"
> > or you'll get an infinite recursions trying to simplify
> >
> > (LTU (plus:SI (reg:SI 81) (reg:SI 81))
> > (reg:SI 81))
>
> Looks right to me. I'll test that and commit if it passes.
Thanks, but it's already done.
brgds, H-P