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: Unreviewed fix for bootstrap failure


> Date: Wed, 2 Jul 2003 16:33:52 -0400 (EDT)
> From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>

> > > Do you really think there is a use for notes that indicate that a
> > > set is equal/equivalent to a label_ref?
> > 
> > Yes.  How is a LABEL_REF different to any other kind of thing you
> > might want to indicate a register is equal to?
> 
> I don't see any difference but I fail to see how this relates
> to the issue of whether or not to track LABEL_NUSES for LABEL_REFs
> in REG_NOTES.  As far as I can tell, the fix to the label replacement
> code doesn't restrict or change the use of LABEL_REFs in any way.

Surely it does, because you can now no longer simply substitute a
LABEL_REF that you find in a note because that label may have been
deleted.  Either we must check before substituting, or we must ensure
that labels mentioned in notes don't get deleted.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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