From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT bug - still in 2010?
Date: Wed, 27 Oct 2010 22:56:14 +0100
Date: 2010-10-27T22:56:14+01:00 [thread overview]
Message-ID: <m2lj5j1erl.fsf@pushface.org> (raw)
In-Reply-To: 2806244b-5b67-4d67-811f-05e797760b6d@e14g2000yqe.googlegroups.com
Maciej Sobczak <see.my.homepage@gmail.com> writes:
> On 27 Paź, 23:09, Georg Bauhaus <rm-host.bauh...@maps.futureapps.de>
> wrote:
>
>> $ gnatmake -gnatf -gnatwa -gnat05 -gnatv test.adb
>> gcc -c -gnatwa -gnat05 -gnatv test.adb
>>
>> GNAT GPL 2009 (20090519)
>> etc., same messages
>
> $ gnatmake -gnatf -gnatwa -gnat05 -gnatv test.adb
> gcc -c -gnatf -gnatwa -gnat05 -gnatv test.adb
>
> GNAT GPL 2009 (20090519)
> Copyright 1992-2009, Free Software Foundation, Inc.
> +===========================GNAT BUG
> DETECTED==============================+
> | GPL 2009 (20090519) (x86_64-apple-darwin9.6.0) Constraint_Error
> erroneous memory access|
>
>
> I also work on Mac and I have the same compiler version.
> Looks like there are different "same" compiler versions...
This is a bit worrying. I suspect you may be using one of the compilers
that I built for Snow Leopard?
Here, the AdaCore 2009 & 2010 compilers (which were built with
--enable-checking=release) behave as Georg reports, whereas my builds,
including GCC 4.5.0 (without --enable-checking=release) behave as you
report.
I don't think
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
is a sensible set of error messages; the compiler is clearly confused
and the bug box is arguably a better outcome!
next prev parent reply other threads:[~2010-10-27 21:56 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
2010-10-27 21:21 ` Maciej Sobczak
2010-10-27 21:56 ` Simon Wright [this message]
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