This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: -Wunreachable-bytecode
- From: Per Bothner <per at bothner dot com>
- To: tromey at redhat dot com
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, Gcc Patch List<gcc-patches at gcc dot gnu dot org>
- Date: Sun, 16 Jun 2002 13:22:35 -0700
- Subject: Re: Patch: -Wunreachable-bytecode
- References: <87bsac1hih.fsf@fleche.redhat.com>
Tom Tromey wrote:
This patch adds a new -Wunreachable-bytecode warning to gcj. I added
this because we want to suppress these warnings in the test suite, and
this seemed like the most straightforward approach to doing so.
Why do we want to supress it? Is it unreachable bytecode in .class
files generated by gcj? If so we should fix gcj to not generate
uneachable bytecode. Is it unreachable bytecode generated by javac?
Then that is a different matter.
Gcc has too many options as it is, and we really want to avoid adding
more.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/