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


"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:

> This patch hasn't been reviewed yet:
> http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02448.html

> The enclosed patch fixes this by not updating LABEL_NUSES for label
> references in REG_NOTES.  The semantics of label references is that
> they don't contribute to the usage count.  This allows register notes
> to be removed without having to worry about updating the the usage
> counts.

1. The documentation should be updated to say this.
2. Are you sure this is a good idea?  What happens if a label is deleted
   that's referred to from a REG_EQUIV note, and the note is later
   substituted for the register (say, by reload)?

-- 
- 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]