>Submitter-Id: net >Originator: Patrik Hagglund <[EMAIL PROTECTED]> >Organization: The Debian project >Confidential: no >Synopsis: internal error using static synchronized >Severity: serious >Priority: medium >Category: java >Class: ice-on-legal-code >Release: 3.0 (Debian GNU/Linux) >Environment: System: Debian GNU/Linux (testing/unstable) Architecture: i686 host: i386-linux build: i386-linux target: i386-linux configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux >Description: [ Reported to the Debian BTS as report #99038. Please CC [EMAIL PROTECTED] on replies. Log of report can be found at http://bugs.debian.org/99038 ]
[ first sent to http://gcc.gnu.org/ml/java/2001-05/msg00311.html] // gcj-3.0 -c -O1 Bug.java // Bug.java: In class `Bug': // Bug.java: In method `Bug.get()': // Bug.java:3: Internal error: Segmentation fault class Bug { static synchronized Object get(int i) { return null; } static synchronized Object get() { return get(1); } } Tom Tromey added: This fails for me (on x86) with -O1, but not with -O0. >How-To-Repeat: >Fix: