From: "Y.Tomino" <demoonlit@panathenaia.halfmoon.jp>
Subject: Re: Ada.Containers.Indefinite_Ordered_Maps of gcc 4.0.1 has bug ?
Date: Sun, 07 Aug 2005 01:49:40 +0900
Date: 2005-08-07T01:49:40+09:00 [thread overview]
Message-ID: <dd2pn1$21r$1@news522.nifty.com> (raw)
In-Reply-To: <uacjvowiw.fsf@earthlink.net>
Matthew Heaney wrote:
> "Y.Tomino" <demoonlit@panathenaia.halfmoon.jp> writes:
>
>
>>Now, I downloaded the latest 4.1.0 snapshot from
>>http://mirrors.rcn.net/pub/sourceware/gcc/snapshots/4.1-20050730/
>>however, a-ciorse.abs's Copy_Node is...
>>
>>It seems difference to your suggested code. There is no "Key".
>
>
> Yes, because it's a set, not a key. What about a-ciorma.adb?
Sorry. I mistook the file to see...
a-ciorma.adb's Copy_Node is corrected.
function Copy_Node (Source : Node_Access) return Node_Access is
K : Key_Access := new Key_Type'(Source.Key.all);
E : Element_Access;
begin
E := new Element_Type'(Source.Element.all);
return new Node_Type'(Parent => null,
Left => null,
Right => null,
Color => Source.Color,
Key => K,
Element => E);
exception
when others =>
Free_Key (K);
Free_Element (E);
raise;
end Copy_Node;
I'm expecting the following release of gcc 4.1.0...
YT
prev parent reply other threads:[~2005-08-06 16:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-06 11:57 Ada.Containers.Indefinite_Ordered_Maps of gcc 4.0.1 has bug ? Y.Tomino
2005-08-06 12:54 ` Matthew Heaney
2005-08-06 13:13 ` Y.Tomino
[not found] ` <42F4B753.2080004@panathenaia.halfmoon.jp>
2005-08-06 15:37 ` Matthew Heaney
2005-08-06 16:17 ` Y.Tomino
2005-08-06 16:33 ` Matthew Heaney
2005-08-06 16:49 ` Y.Tomino [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox