This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: java/8958: Unreachable statement causes gcj to exit:
- From: Tom Tromey <tromey at redhat dot com>
- To: Not yet assigned to anyone <nobody at gcc dot gnu dot org>, Tom Tromey <tromey at gcc dot gnu dot org>, bhun at chello dot nl
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Dec 2002 10:41:48 -0700 (MST)
- Subject: Re: java/8958: Unreachable statement causes gcj to exit:
- Reply-to: tromey at redhat dot com
Tom
`Tom Tromey' changed the responsibility to `tromey'.
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Mon Dec 16 10:33:32 2002
Responsible-Changed-Why:
I'm handling this.
State-Changed-From-To: open-closed
State-Changed-By: tromey
State-Changed-When: Mon Dec 16 10:33:47 2002
State-Changed-Why:
This is just a warning, not an error.
It is true that pedantically speaking, this code is not in error.
Nevertheless, the unreachable code here is not useful and in many
cases results from programmer error. So, we've chosen to warn about
it.
If this is a big problem I imagine we'd accept a patch to make `gcj
-pedantic' not warn in this instance.