flow.c: test against frame_pointer_rtx not FRAME_POINTER_REGNUM

Jeffrey A Law law@upchuck.cygnus.com
Mon May 31 20:56:00 GMT 1999


  In message < 199905242024.NAA06371@elmo.cygnus.com >you write:
  > Hi Guys,
  > 
  >   I would like to submit the following patch for approval.  It changes
  >   the code at several places in flow.c where there are checks to see
  >   if a register number is equal to FRAME_POINTER_REGNUM.  The change
  >   is to check the RTX against frame_pointer_rtx instead, so that if
  >   the frame pointer has been eliminated the check will fail and the
  >   register will not be treated as a special case.
  > 
  > Cheers
  > 	Nick
  > 
  > 
  > Mon May 24 13:22:26 1999  Nick Clifton  <nickc@cygnus.com>
  > 
  > 	* flow.c (insn_dead_p): Check against frame_pointer_rtx not
  > 	FRAME_POINTER_REGNUM. 
  > 	(mark_set_1): Ditto.
  > 	(mark_used_regs): Ditto.
Looks good to me.

jeff



More information about the Gcc-patches mailing list