This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH RFA: PR gcc/1532: jump to following instruction


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]