Compiling the attached jarfile with optimisation fails with gcj (GCC) 4.0.0 20050423 (Red Hat 4.0.0-2). $ gcj -findirect-dispatch -shared bork.jar # works $ gcj -findirect-dispatch -shared -O bork.jar org/apache/catalina/session/FileStore.java: In class 'org.apache.catalina.session.FileStore': org/apache/catalina/session/FileStore.java: In method 'org.apache.catalina.session.FileStore.save(org.apache.catalina.Session)': org/apache/catalina/session/FileStore.java:0: internal compiler error: in make_edges, at cfgbuild.c:327
Created attachment 8808 [details] Testcase
This is possibly the same as bug 20606.
Created attachment 8809 [details] Testcase source
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00425.html>.
This may be a dup of 20606
Fixed, with http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01811.html
Fixed.