public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/2400: Linked list don't compile
@ 2001-03-27 3:06 torsten.rueger
0 siblings, 0 replies; 3+ messages in thread
From: torsten.rueger @ 2001-03-27 3:06 UTC (permalink / raw)
To: gcc-gnats
>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==
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/2400: Linked list don't compile
@ 2001-03-27 12:56 Alexandre Petit-Bianco
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Petit-Bianco @ 2001-03-27 12:56 UTC (permalink / raw)
To: apbianco; +Cc: gcc-prs
The following reply was made to PR java/2400; it has been noted by GNATS.
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: torsten.rueger@firsthop.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/2400: Linked list don't compile
Date: Tue, 27 Mar 2001 12:49:41 -0800 (PST)
torsten.rueger@firsthop.com writes:
> A simple linked list adding , written tightly like (obj.next =
> before).prev = (obj.prev = before.prev).next = obj; will core dump
> gcj
Have you tried the patch I wrote for java/2066? I gets me past the
compilation.
./A
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/2400: Linked list don't compile
@ 2001-03-27 15:26 Bryce McKinlay
0 siblings, 0 replies; 3+ messages in thread
From: Bryce McKinlay @ 2001-03-27 15:26 UTC (permalink / raw)
To: apbianco; +Cc: gcc-prs
The following reply was made to PR java/2400; it has been noted by GNATS.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: torsten.rueger@firsthop.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/2400: Linked list don't compile
Date: Wed, 28 Mar 2001 11:34:52 +1200
Could you try the patch attached to PR 2066:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2066&database=gcc
and let us know if that fixes this problem as well.
regards
[ bryce ]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-03-27 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-27 3:06 java/2400: Linked list don't compile torsten.rueger
2001-03-27 12:56 Alexandre Petit-Bianco
2001-03-27 15:26 Bryce McKinlay
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).