This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/3490: internal error using static synchronized
- To: gcc-gnats at gcc dot gnu dot org, debian-gcc at lists dot debian dot org
- Subject: java/3490: internal error using static synchronized
- From: Matthias Klose <doko at klose dot in-berlin dot de>
- Date: Sat, 30 Jun 2001 12:08:17 +0200
- Reply-To: 99038-quiet at bugs dot debian dot org
>Number: 3490
>Category: java
>Synopsis: internal error using static synchronized
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sat Jun 30 03:16:04 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Patrik Hagglund <patha@softlab.ericsson.se>
>Release: 3.0 (Debian GNU/Linux)
>Organization:
The Debian project
>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 99038-quiet@bugs.debian.org 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:
>Release-Note:
>Audit-Trail:
>Unformatted: