This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
Re: gcj/199: Internal compiler error building Input_UTF8.java
- To: apbianco at cygnus dot com
- Subject: Re: gcj/199: Internal compiler error building Input_UTF8.java
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: 10 Apr 2000 11:30:01 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Bryce McKinlay <bryce at albatross dot co dot nz>
The following reply was made to PR gcj/199; it has been noted by GNATS.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: bheadley@interaccess.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/199: Internal compiler error building Input_UTF8.java
Date: Mon, 10 Apr 2000 23:24:17 +1200
bheadley@interaccess.com wrote:
> >Synopsis: Internal compiler error building Input_UTF8.java
> gcj -fassume-compiled -g -L/home/bheadley/gcc/libgcj-snapshot-2000-04-08/objs/i686-pc-linux-gnu/libjava -ffloat-store -c -fPIC ../../../libjava/gnu/gcj/convert/Input_UTF8.java -o gnu/gcj/convert/.libs/Input_UTF8.lo
> ../../../libjava/gnu/gcj/convert/Input_UTF8.java: In class `gnu.gcj.convert.Input_UTF8':
> ../../../libjava/gnu/gcj/convert/Input_UTF8.java: In method `read(char[],int,int)':
> ../../../libjava/gnu/gcj/convert/Input_UTF8.java:117: Unrecognizable insn:
> (insn 144 142 145 (set (reg:SI 51)
> (UnKnown Unknown)) -1 (nil)
> (nil))
> ../../../libjava/gnu/gcj/convert/Input_UTF8.java:117: Internal compiler error in `extract_insn', at recog.c:2044
Hi Bryan,
This failure is caused by a compiler bug that was introduced recently. I don't think the bug is in the Java front-end, but rather is a generic gcc bug that manifests in libgcj.
My workaround is to go back to a 2000-03-30 compiler (using the command "cvs -z9 update -D 20000330 -dP"). You can then update the gcc/java directory to the current version if you wish.
Perhaps you could report this to gcc-bugs@gnu.org - maybe more bug reports will encourage someone to fix it.
regards
[ bryce ]