This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/1318: Internal Compiler Error
- To: java-gnats at sourceware dot cygnus dot com
- Subject: java/1318: Internal Compiler Error
- From: tle dot tech at spree dot de
- Date: 3 Aug 2000 10:07:22 -0000
- Reply-To: tle dot tech at spree dot de
>Number: 1318
>Category: java
>Synopsis: Internal Compiler Error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: closed
>Class: mistaken
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:19:01 PST 2000
>Closed-Date: Thu Aug 03 22:25:23 PDT 2000
>Last-Modified: Thu Aug 3 22:30:01 PDT 2000
>Originator: tle.tech@spree.de
>Release: unknown-1.0
>Organization:
>Environment:
SuSE 6.4
>Description:
gcj --main=Test -o Test Test.class /opt/sun/jdk1.2.2/classes/java/io/ObjectOutputStream.class /opt/sun/jdk1.2.2/classes/java/io/ByteArrayOutputStream.class
java/io/ObjectOutputStream.java:1510: Internal compiler error in `make_class_data', at class.c:1162
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/296
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Thu Aug 3 22:25:23 2000
State-Changed-Why:
I'm closing this PR because a) your test case works for me,
and b) you havn't provided enough information to diagnose the
problem (like what build of gcj and libgcj you are running).
I suspect you got the compiler error because you are trying to
compile your code against foreign class files that do not
match their dependencies in libgcj.zip. Remove the "jdk1.2.2"
class files from your command line and try again.
From: bryce@albatross.co.nz
To: apbianco@cygnus.com, java-gnats@sourceware.cygnus.com, tle.tech@spree.de
Cc:
Subject: Re: gcj/296
Date: 4 Aug 2000 05:25:23 -0000
Synopsis: Internal Compiler Error
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Thu Aug 3 22:25:23 2000
State-Changed-Why:
I'm closing this PR because a) your test case works for me,
and b) you havn't provided enough information to diagnose the
problem (like what build of gcj and libgcj you are running).
I suspect you got the compiler error because you are trying to
compile your code against foreign class files that do not
match their dependencies in libgcj.zip. Remove the "jdk1.2.2"
class files from your command line and try again.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=296&database=java
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Test.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Test.java"
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5pby4qOwppbXBvcnQgZGUuc3ByZWUubWN0
LmNvcmUuKjsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFp
bihTdHJpbmdbXSBhcmdzKQogICAgewoJdHJ5IHsKCgkgICAgbG9uZyB0aW1lMSA9IFN5c3RlbS5j
dXJyZW50VGltZU1pbGxpcygpOwoJICAgIGZvciAoaW50IGkgPSAwOyBpIDwgMTAwMDsgaSsrKSB7
CgkJCgoJCUJ5dGVBcnJheU91dHB1dFN0cmVhbSBib3V0ID0gbmV3IEJ5dGVBcnJheU91dHB1dFN0
cmVhbSgpOwoJCU9iamVjdE91dHB1dFN0cmVhbSAgICBvb3V0ID0gbmV3IE9iamVjdE91dHB1dFN0
cmVhbShib3V0KTsKCgkJCgkgICAgICAgCgkJCgkgICAgfQoJICAgIGxvbmcgdGltZTIgPSBTeXN0
ZW0uY3VycmVudFRpbWVNaWxsaXMoKTsKCgkgICAgCgkgICAgU3lzdGVtLm91dC5wcmludGxuKCJU
SU1FOiAiICsgKHRpbWUyIC0gdGltZTEpKTsKCgl9CgljYXRjaChFeGNlcHRpb24gZXgpIHsKCSAg
ICAKCSAgICBleC5wcmludFN0YWNrVHJhY2UoKTsKCgl9CgkKICAgIH0KCn0K