This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: java warnings
- To: Marc Espie <Marc dot Espie at liafa dot jussieu dot fr>
- Subject: Re: java warnings
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Tue, 24 Nov 1998 13:30:49 -0500
- cc: egcs at cygnus dot com
On Tue, 24 Nov 1998 17:58:01 +0100, Marc Espie wrote:
>well, let's fix a few warnings in insn-recog.c and gcc/toplev.c, and java
>is going to get ALL the top 10 slots.
The warnings in insn-recog.c are almost all "label XYZ defined but not
used". This is generated code - you would have to clean up
genrecog.c. The gen* programs are all real hairy and I am hesitant to
muck with them.
The toplev.c warnings are mostly because for most subtargets,
SUBTARGET_SWITCHES has no switch description entries. That would be
easy to fix but you'd have to know the platform. There's some weird
stuff in there - e.g. why are "-mwindows" and "-mdll" unconditional
TARGET_SWITCHES for i386?
Why does Java have so many warnings? It's brand new code and
shouldn't have any historical baggage in the way of writing it
cleanly.
zw