This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/1234: Internal compiler error building Input_UTF8.java
- To: java-gnats at sourceware dot cygnus dot com
- Subject: java/1234: Internal compiler error building Input_UTF8.java
- From: bheadley at interaccess dot com
- Date: 9 Apr 2000 20:03:07 -0000
- Reply-To: bheadley at interaccess dot com
>Number: 1234
>Category: java
>Synopsis: Internal compiler error building Input_UTF8.java
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:18:04 PST 2000
>Closed-Date: Mon Apr 10 21:17:50 PDT 2000
>Last-Modified: Mon Apr 10 21:20:01 PDT 2000
>Originator: Bryan W. Headley
>Release: 2000-04-08 snapshot
>Organization:
>Environment:
Linux 2.2.13; Dual PII, gcc 2.96 (2000-04-03 snapshot); binutils 2.9.5 (2000-04-09 snpashot)
>Description:
Building the snapshot,
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
>How-To-Repeat:
make?
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
Formerly PR gcj/199
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 ]
From: Bryce McKinlay <bryce@albatross.co.nz>
To: green@cygnus.com
Cc: bheadley@interaccess.com, apbianco@cygnus.com,
java-gnats@sourceware.cygnus.com
Subject: Re: gcj/199: Internal compiler error building Input_UTF8.java
Date: Tue, 11 Apr 2000 16:10:43 +1200
Anthony Green wrote:
> Bryce wrote:
> > 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.
>
> There's a chance that the following patch fixes it, although I haven't
> tried it yet.....
Yes, it seems to be fixed. It appears that the patch has been committed to cvs.
regards
[ bryce ]
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Mon Apr 10 21:17:50 2000
State-Changed-Why:
Fixed in the current cvs compiler, thanks to this patch:
http://gcc.gnu.org/ml/gcc-patches/2000-04/msg00338.html
From: bryce@albatross.co.nz
To: apbianco@cygnus.com, bheadley@interaccess.com,
java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/199
Date: 11 Apr 2000 04:17:50 -0000
Synopsis: Internal compiler error building Input_UTF8.java
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Mon Apr 10 21:17:50 2000
State-Changed-Why:
Fixed in the current cvs compiler, thanks to this patch:
http://gcc.gnu.org/ml/gcc-patches/2000-04/msg00338.html
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=199&database=java
>Unformatted: