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]

Re: PATCH: Fix PR 2244



  On Sat, May 19, 2001 at 02:14:22PM -0700, Mark Mitchell wrote:
  > ! 		/* We may also have a REG_EQUAL note to indicate that
  > ! 		   a register is being set to the address of the
  > ! 		   label.  We cannot use find_reg_note as above
  > ! 		   because the REG_EQUAL note will use a LABEL_REF,
  > ! 		   not the actual CODE_LABEL.  */

  That's what find_reg_note (insn, REG_EQUAL, NULL_RTX) is for.

Oh, duh.  

At first I was thinking there might be more than one such note, and
then I thought it about and realized there couldn't be, but then I
wasn't smart enough to undo my earlier assumption.

Will fix.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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