This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: PR gcc/1532: jump to following instruction
- From: Richard Henderson <rth at redhat dot com>
- To: Ian Lance Taylor <ian at wasabisystems dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Feb 2004 10:05:11 -0800
- Subject: Re: PATCH RFA: PR gcc/1532: jump to following instruction
- References: <m3y8rwccsu.fsf@gossamer.airs.com> <20040209234807.GB26235@redhat.com> <m3r7x296p9.fsf@gossamer.airs.com>
On Tue, Feb 10, 2004 at 12:37:22PM -0500, Ian Lance Taylor wrote:
> Your patch generates testsuite crashes just as my original patch did.
> For example, this trivial function:
> int foo () { int i = 0; }
> crashes at -O2 with
> foo1.c:1: internal compiler error: in verify_local_live_at_start,
> at flow.c:568
Ah right. Perhaps better as
if (GET_CODE (XEXP (x, 0)) == REG
&& (REGNO (XEXP (x, 0)) >= FIRST_PSEUDO_REGISTER
|| reload_completed)
&& ! REGNO_REG_SET_P (pbi->reg_live, REGNO (XEXP (x, 0))))
return true;
This should be the same as your patch, where we don't delete
the CLOBBER unless there's something afterward that kills the
register as well.
r~