public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: torsten.rueger@firsthop.com
To: gcc-gnats@gcc.gnu.org
Subject: java/2400: Linked list don't compile
Date: Tue, 27 Mar 2001 03:06:00 -0000	[thread overview]
Message-ID: <20010327110001.17089.qmail@sourceware.cygnus.com> (raw)

>Number:         2400
>Category:       java
>Synopsis:       Linked list don't compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 27 03:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     torsten.rueger@firsthop.com
>Release:        gcc version 3.0 20010320 (prerelease)
>Organization:
>Environment:
Configured with: ../gcc-20010320/configure --enable-threads=posix --prefix=/tmp/local/ --enable-shared --enable-languages=c++,javaLinux inception 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 unknown

>Description:
A simple linked list adding , written tightly like 	
(obj.next = before).prev = (obj.prev = before.prev).next = obj;
will core dump gcj
>How-To-Repeat:
compile attatched file 
gcj -c -o Small.lo  Small.java
>Fix:
Workaround: rewrite code as done in the class
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Small.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Small.java"

cHVibGljIGNsYXNzIFNtYWxsIHsKICBTbWFsbCBuZXh0IDsKICBTbWFsbCBwcmV2IDsKICAKICBw
dWJsaWMgc3RhdGljIHZvaWQgbGlua0FmdGVyKFNtYWxsIGFmdGVyLCBTbWFsbCBvYmopIHsgCiAg
ICBvYmoucHJldiA9IGFmdGVyIDsKICAgIG9iai5uZXh0ID0gYWZ0ZXIubmV4dCA7CiAgICBhZnRl
ci5uZXh0ID0gb2JqIDsKICAgIGFmdGVyLm5leHQucHJldiA9IG9iaiA7CiAgfQogIAogIHB1Ymxp
YyBzdGF0aWMgdm9pZCBsaW5rQmVmb3JlKFNtYWxsIGJlZm9yZSwgU21hbGwgb2JqKSB7IAogICAg
KG9iai5uZXh0ID0gYmVmb3JlKS5wcmV2ID0gKG9iai5wcmV2ID0gYmVmb3JlLnByZXYpLm5leHQg
PSBvYmo7CiAgfQogIAogIHB1YmxpYyBzdGF0aWMgdm9pZCBsaW5rQmVmb3JlT2soU21hbGwgYmVm
b3JlLCBTbWFsbCBvYmopIHsgCiAgICBvYmoubmV4dCA9IGJlZm9yZTsKICAgIG9iai5wcmV2ID0g
YmVmb3JlLnByZXY7CiAgICBiZWZvcmUucHJldi5uZXh0ID0gb2JqOwogICAgYmVmb3JlLnByZXYg
PSBvYmo7CiAgfQp9Cg==


             reply	other threads:[~2001-03-27  3:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27  3:06 torsten.rueger [this message]
2001-03-27 12:56 Alexandre Petit-Bianco
2001-03-27 15:26 Bryce McKinlay

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=20010327110001.17089.qmail@sourceware.cygnus.com \
    --to=torsten.rueger@firsthop.com \
    --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: link
Be 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).