java/5941: incorrect "Unreachable statement" error
Tom Tromey
tromey@redhat.com
Wed Mar 13 12:16:00 GMT 2002
The following reply was made to PR java/5941; it has been noted by GNATS.
From: Tom Tromey <tromey@redhat.com>
To: shroff@transeda.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/5941: incorrect "Unreachable statement" error
Date: 13 Mar 2002 13:39:45 -0700
>>>>> "Saurin" == shroff <shroff@transeda.com> writes:
Saurin> Synopsis: incorrect "Unreachable statement" error
Saurin> Release: GNU Java version 3.0.1 (sparc-sun-solaris2.8)
Saurin> hdlFSM.java:448: Unreachable statement.
Saurin> for (int i=lowIndex; i <= highIndex; i++) {
Saurin> ^
Saurin> 1 error
Do you have a small (one or two files) test case?
Or can you easily try the gcj from the 3.1 CVS branch?
As I recall this code has been substantially improved in 3.1.
I imagine your bug has already been fixed.
Tom
More information about the Gcc-prs
mailing list