This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: java/8958: Unreachable statement causes gcj to exit:


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.


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