This is the mail archive of the gcc@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]

Re: java warnings


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


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