As per final comment in PR18931, I'm opening a new PR. For additional comments and a test case, see comments >= 2005-01-05 23:53 in PR18931.
Using Jakub's gcc4 RPMs from Fedora rawhide (on Fedora Core 3), I'm getting: gcj4 -O2 -fPIC -fjni -findirect-dispatch -shared -o jsch-0.1.17.so \ jsch-0.1.17.jar com/jcraft/jsch/ChannelSftp.java: In method 'com.jcraft.jsch.ChannelSftp.ls(java.lang.String)': com/jcraft/jsch/ChannelSftp.java:0: internal compiler error: in remove_unreachable_regions, at except.c:694 This does not happen with no -O flag. gcj4 --version: gcj4 (GCC) 4.0.0 20041228 (Red Hat 4.0.0-0.17) target: i686-pc-linux File: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.team.cvs.ssh2/jsch-0.1.17.jar A similar error happens with jsch-0.1.16.jar. -- Summary: Java bytecode ICE in except.c remove_unreachable_regions Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: overholt at redhat dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19505