This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs, can I use __attribute__ ((__unused__)) on a label?
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: egcs, can I use __attribute__ ((__unused__)) on a label?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 03 Jun 1998 23:27:34 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199806040116.VAA24223@caip.rutgers.edu>you write:
> Can one use __attribute__ ((__unused__)) on a label in gcc?
> The documentation I found on -Wunused is vague and I can't seem to get
> it to work with labels.
No idea.
> The reason I'm interested is that there are quite a bunch of unused
> label warnings in insn-recog.c. Since that is a generated file I'd like
> to nuke the whole bunch similarly to what was done for unused parameters
> in insn-output.c.
Or fix the generator to not output unnecessary labels. I haven't
looked to see how difficult that might be.
jeff