public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: cassio@pucsp.br To: gcc-gnats@gcc.gnu.org Subject: java/7838: Internal compiler error in make_class_data, at java/class.c Date: Thu, 05 Sep 2002 10:36:00 -0000 [thread overview] Message-ID: <20020905173302.3098.qmail@sources.redhat.com> (raw) >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==
next reply other threads:[~2002-09-05 17:36 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-09-05 10:36 cassio [this message] 2002-09-05 19:26 Tom Tromey 2002-10-08 6:47 aph
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020905173302.3098.qmail@sources.redhat.com \ --to=cassio@pucsp.br \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).