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


On Saturday 11 March 2006 14:19, Bernd Schmidt wrote:
> Steven Bosscher wrote:
> > Hi,
> >
> > My recent patch to sh.c has made LABEL_NEXTREF unused.  The patch
> > below removes it.  Bootstrapped&tested on x86_64-linux and also
> > built&tested on sh-elf.  OK?
>
> Seems to qualify as obvious.

Thanks.

> > Now that LABEL_REF has only a single field, I'm wondering, should
> > LABEL_REF be removed?  Could things that now take a LABEL_REF as
> > an operand just refer to a CODE_LABEL instead?
>
> What about LABEL_REF_NONLOCAL_P?

I may be mistaken, but I think this is a property of the referenced
label, and not of the label reference.  So I think we could use a
flag on the CODE_LABEL itself instead of on the LABEL_REF.  I have
not thought enough about it yet to be sure.

Gr.
Steven


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