From: Georg Bauhaus <rm-host.bauhaus@maps.futureapps.de>
Subject: Re: GNAT bug - still in 2010?
Date: Wed, 27 Oct 2010 23:09:19 +0200
Date: 2010-10-27T23:09:20+02:00 [thread overview]
Message-ID: <4cc89500$0$6990$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <6cebf1a3-3b2a-4e79-a39e-669a6a5ca00c@l20g2000yqm.googlegroups.com>
On 10/27/10 5:00 PM, Maciej Sobczak wrote:
> procedure Test is
> [...]
> end Test;
>
>
> If the indicated line (call to Free) is uncommented, GNAT crashes in
> flames (GNAT BUG DETECTED).
>
> I was finally able to reduce this to a minimal example, which might be
> a good candidate for bug report (one in the long series of bugs
> related to interfaces), but before I submit it I would like to kindly
> ask you to confirm if this is still the case with GNAT 2010.
> Certainly the bug is in versions GPL 2009 (20090519) and in 4.4.0
> 20080314.
On Mac OS X, running both GNAT 2010 and GNAT 2009, I get
$ gnatmake -gnatf -gnatv -gnat05 -gnatwa test.adb
gcc -c -gnatf -gnatv -gnat05 -gnatwa test.adb
GNAT GPL 2010 (20100603)
Copyright 1992-2010, Free Software Foundation, Inc.
Compiling: test.adb (source file time stamp: 2010-10-27 21:02:39)
12. procedure Do_Something;
|
>>> warning: procedure "Do_Something" is not referenced
32. Free (Ptr);
1 2
>>> "" is undefined
>>> expected private type "System.Tasking.Protected_Objects.Protection"
>>> found type "System.Tasking.Protected_Objects.Entries.Protection_Entries"
>>> ==> in call to "Finalize_Protection" at s-taprob.ads:244
35 lines: 4 errors, 1 warning
gnatmake: "test.adb" compilation error
$ gnatmake -gnatf -gnatwa -gnat05 -gnatv test.adb
gcc -c -gnatwa -gnat05 -gnatv test.adb
GNAT GPL 2009 (20090519)
etc., same messages
next prev parent reply other threads:[~2010-10-27 21:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 15:00 GNAT bug - still in 2010? Maciej Sobczak
2010-10-27 16:11 ` Alexander S. Mentis
2010-10-27 20:43 ` Maciej Sobczak
2010-10-31 21:24 ` Maciej Sobczak
2010-11-01 9:23 ` Maciej Sobczak
2010-10-27 21:09 ` Georg Bauhaus [this message]
2010-10-27 21:21 ` Maciej Sobczak
2010-10-27 21:56 ` Simon Wright
2010-10-28 8:31 ` Maciej Sobczak
2010-10-28 7:17 ` Timo Warns
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox