public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/7838: Internal compiler error in make_class_data, at java/class.c
@ 2002-10-08  6:47 aph
  0 siblings, 0 replies; 3+ messages in thread
From: aph @ 2002-10-08  6:47 UTC (permalink / raw)
  To: cassio, gcc-bugs, gcc-prs, java-prs, nobody

Synopsis: Internal compiler error in make_class_data, at java/class.c

State-Changed-From-To: open->closed
State-Changed-By: aph
State-Changed-When: Tue Oct  8 06:47:57 2002
State-Changed-Why:
    Unrepro in gcj 3.3 20020927.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7838


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: java/7838: Internal compiler error in make_class_data, at java/class.c
@ 2002-09-05 19:26 Tom Tromey
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2002-09-05 19:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/7838; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: cassio@pucsp.br
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/7838: Internal compiler error in make_class_data, at java/class.c
Date: 05 Sep 2002 20:23:29 -0600

 >>>>> ">" == cassio  <cassio@pucsp.br> writes:
 
 >> Number:         7838
 >> Synopsis:       Internal compiler error in make_class_data, at java/class.c
 
 >> Client.java:1: Internal compiler error in make_class_data, at java/class.c:1676
 
 >> It's necessary to have the java class sources in the path.
 >> I'm working with the j2sdk1.3.1/src/share/classes/ directory.
 
 This is definitely a bug -- you should never be able to get an
 internal compiler error.
 
 However, using gcj with a class library other than libgcj doesn't
 work.  (It could be made to work when generating bytecode, but not
 when generating native code.)  So the likely resolution of this
 problem will be to turn the ICE into a "don't do that" error.  FYI.
 
 Tom


^ permalink raw reply	[flat|nested] 3+ messages in thread

* java/7838: Internal compiler error in make_class_data, at java/class.c
@ 2002-09-05 10:36 cassio
  0 siblings, 0 replies; 3+ messages in thread
From: cassio @ 2002-09-05 10:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7838
>Category:       java
>Synopsis:       Internal compiler error in make_class_data, at java/class.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 05 10:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     gcj
>Release:        3.2.1-20020826
>Organization:
>Environment:
Red Hat Linux 7.x
java j2sdk1.3.1 (binary and source)
>Description:
I don't know if this is a bug or my problem is because of
a yet unimplemented feature. But the compiler asked me to
send a bug report :) So here I am.

When trying to compile my .java (or .class), the compiler
halts (note that the source used is just for test purposes):

[cassio@computer cassio]$ gcj -v Client.java 
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../srcdir/configure --enable-languages=c,c++,java
Thread model: posix
gcc version 3.2.1 20020826 (prerelease)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/jc1 Client.java -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase Client.java -g1 -version -o /tmp/cce72C5l.s
GNU Java version 3.2.1 20020826 (prerelease) (i686-pc-linux-gnu)
	compiled by GNU C version 3.2.1 20020826 (prerelease).
Class path starts here:
    ./classes/
    ./
    /usr/local/share/java/libgcj-3.2.1.jar/ (system) (zip)
Client.java:1: Internal compiler error in make_class_data, at java/class.c:1676
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
[cassio@computer cassio]$ gcj -v Client.class
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../srcdir/configure --enable-languages=c,c++,java
Thread model: posix
gcc version 3.2.1 20020826 (prerelease)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/jc1 Client.class -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase Client.class -g1 -version -o /tmp/cc4feYOX.s
GNU Java version 3.2.1 20020826 (prerelease) (i686-pc-linux-gnu)
	compiled by GNU C version 3.2.1 20020826 (prerelease).
Class path starts here:
    ./classes/
    ./
    /usr/local/share/java/libgcj-3.2.1.jar/ (system) (zip)
Client.java:67: Internal compiler error in make_class_data, at java/class.c:1676
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
gcj Client.java
or
gcj -C Client.java && gcj Client.class

It's necessary to have the java class sources in the path.
I'm working with the j2sdk1.3.1/src/share/classes/ directory.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Client.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Client.java"

aW1wb3J0IGphdmEuYXd0Lio7CmltcG9ydCBqYXZhLmF3dC5ldmVudC5BY3Rpb25FdmVudDsKaW1w
b3J0IGphdmEuYXd0LmV2ZW50LkFjdGlvbkxpc3RlbmVyOwppbXBvcnQgamF2YS5pby4qOwppbXBv
cnQgamF2YS5uZXQuSW5ldEFkZHJlc3M7CmltcG9ydCBqYXZhLnJtaS5OYW1pbmc7CmltcG9ydCBq
YXZhLnJtaS5SZW1vdGVFeGNlcHRpb247CmltcG9ydCBqYXZhLnJtaS5zZXJ2ZXIuVW5pY2FzdFJl
bW90ZU9iamVjdDsKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YXguc3dpbmcuSkNvbXBv
bmVudDsKaW1wb3J0IGphdmF4LnN3aW5nLkpMYWJlbDsKCnB1YmxpYyBjbGFzcyBDbGllbnQKICAg
IGltcGxlbWVudHMgQWN0aW9uTGlzdGVuZXIKewoKICAgIHB1YmxpYyBDbGllbnQoKQogICAgICAg
IHRocm93cyBSZW1vdGVFeGNlcHRpb24KICAgIHsKICAgICAgICBtID0gIiI7CiAgICAgICAgcCA9
ICIiOwogICAgICAgIGsgPSBmYWxzZTsKICAgICAgICBmID0gInIiOwogICAgICAgIGQgPSAiZCI7
CiAgICAgICAgZSA9ICJlIjsKICAgIH0KCiAgICBwdWJsaWMgdm9pZCBhY3Rpb25QZXJmb3JtZWQo
QWN0aW9uRXZlbnQgYWN0aW9uZXZlbnQpCiAgICB7CiAgICB9CgogICAgcHVibGljIHN0YXRpYyB2
b2lkIG1haW4oU3RyaW5nIGFyZ3NbXSkKICAgIHsKICAgICAgICB0cnkKICAgICAgICB7CiAgICAg
ICAgICAgIFN0cmluZyBzZXJ2ZXJTaXRlID0gbnVsbDsKICAgICAgICAgICAgaWYoYXJncy5sZW5n
dGggPiAwICYmIChhcmdzWzBdLmVxdWFsc0lnbm9yZUNhc2UoIi12IikgfHwgYXJnc1swXS5lcXVh
bHNJZ25vcmVDYXNlKCItLXZlcnNpb24iKSkpCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAg
IFN5c3RlbS5leGl0KDApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIFN0cmluZyBmaWxlTmFt
ZTsKICAgICAgICAgICAgZmlsZU5hbWUgPSAicCI7CiAgICAgICAgICAgIHRyeQogICAgICAgICAg
ICB7CiAgICAgICAgICAgICAgICBDbGFzcy5mb3JOYW1lKCJqYXZheC5zd2luZy5KRnJhbWUiKTsK
ICAgICAgICAgICAgfQogICAgICAgICAgICBjYXRjaChDbGFzc05vdEZvdW5kRXhjZXB0aW9uIF9l
eCkKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgU3lzdGVtLmV4aXQoMCk7CiAgICAgICAg
ICAgIH0KICAgICAgICAgICAgQ2xpZW50IGNsaWVudCA9IG51bGw7CiAgICAgICAgICAgIEluZXRB
ZGRyZXNzIGFkZHJlc3MgPSBJbmV0QWRkcmVzcy5nZXRMb2NhbEhvc3QoKTsKICAgICAgICAgICAg
U3RyaW5nIGhvc3QgPSBhZGRyZXNzLmdldEhvc3RBZGRyZXNzKCk7CiAgICAgICAgICAgIGNsaWVu
dCA9IG5ldyBDbGllbnQoKTsKICAgICAgICB9CiAgICAgICAgY2F0Y2goRXhjZXB0aW9uIGUpCiAg
ICAgICAgewogICAgICAgICAgICBTeXN0ZW0uZXhpdCgwKTsKICAgICAgICB9CiAgICB9CgogICAg
cHJpdmF0ZSBTdHJpbmcgbTsKICAgIHByaXZhdGUgU3RyaW5nIHA7CiAgICBzdGF0aWMgZmluYWwg
U3RyaW5nIGEgPSAiQ2xpZW50IjsKICAgIHN0YXRpYyBmaW5hbCBTdHJpbmcgYiA9ICJjbGllbnQi
OwogICAgcHJpdmF0ZSBzdGF0aWMgU3RyaW5nIGMgPSBudWxsOwogICAgcHJpdmF0ZSBib29sZWFu
IGs7CiAgICBwcml2YXRlIFN0cmluZyBkOwogICAgcHJpdmF0ZSBTdHJpbmcgZTsKICAgIHByaXZh
dGUgU3RyaW5nIGY7CiAgICBwcml2YXRlIHN0YXRpYyBmaW5hbCBpbnQgWCA9IC0xOwogICAgcHJp
dmF0ZSBzdGF0aWMgZmluYWwgaW50IFkgPSAwOwogICAgcHJpdmF0ZSBzdGF0aWMgZmluYWwgaW50
IFogPSAxOwp9Cg==


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-08 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08  6:47 java/7838: Internal compiler error in make_class_data, at java/class.c aph
  -- strict thread matches above, loose matches on Subject: below --
2002-09-05 19:26 Tom Tromey
2002-09-05 10:36 cassio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).