This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove warning about unreachable bytecodes
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Per Bothner <per at bothner dot com>, GCC libjava patches <java-patches at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Oct 2003 10:56:21 +0100
- Subject: Re: Remove warning about unreachable bytecodes
- References: <1066724241.22241.11.camel@famine><62F916F1-03A5-11D8-8833-003065F97F7C@mckinlay.net.nz><3F950A44.50200@bothner.com><87wuayqx5m.fsf@fleche.redhat.com><3F957F34.5090609@bothner.com><87r816p2lw.fsf@fleche.redhat.com>
Tom Tromey writes:
> >>>>> "Per" == Per Bothner <per@bothner.com> writes:
>
> Per> - Don't add a separate flag, at least until we see a use for it.
> Per> - Turn on the warning when extra_warnings is true (i.e. when -W
> Per> or -Wextra is specified).
> Per> - The default should be off by default.
>
> Ok, how about the appended?
>
> Tom
>
> Index: gcc/java/ChangeLog
> from Tom Tromey <tromey@redhat.com>
>
> * expr.c (expand_byte_code): Only warn about dead bytecode when
> extra_warnings is set.
OK.
Andrew.