From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT doing macro-expansion? (Pre/Post conditions)
Date: Wed, 24 Oct 2012 22:43:57 +0100
Date: 2012-10-24T22:43:57+01:00 [thread overview]
Message-ID: <lywqyfr1eq.fsf@pushface.org> (raw)
In-Reply-To: op.wmo5uma2ule2fv@cardamome
"Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> writes:
> Le Wed, 24 Oct 2012 20:53:50 +0200, Simon Wright <simon@pushface.org>
> a écrit:
>> AdaCore _do_ take note of bugs filed by unsupported customers, but
>> I'd think this is much more likely to happen for good bug reports
>> (that is, with a clear statement of what you expected to happen, what
>> actually happened, and a reproducer).
>
> I you see issues with the expected clarity of what I presented, feel
> free to tell, before I send them. I will post some other details later
> (or not here, I don't already know).
Looks clear enough to me!
When I tried this it failed on x86_64 Mac with all of GCC 4.6, 4.7 and
GNAT GPL 2012. I get CE with "erroneous memory access".
Under the debugger, it turns out it's an assertion failure (tell AdaCore
you compiled with -gnata !), probably caused by some mis-ordering of the
initializations vs the predicate checks; with 4.7, I is -7952, J is
24515 and K is -1 at the point of failure.
prev parent reply other threads:[~2012-10-29 2:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 23:44 GNAT doing macro‑expansion for generics? (Pre/Post conditions) Yannick Duchêne (Hibou57)
2012-10-19 0:08 ` GNAT doing macro‑expansion? " Yannick Duchêne (Hibou57)
2012-10-24 16:40 ` Yannick Duchêne (Hibou57)
2012-10-24 16:45 ` Yannick Duchêne (Hibou57)
2012-10-24 17:20 ` Yannick Duchêne (Hibou57)
2012-10-24 18:16 ` GNAT doing macro-expansion? " Anh Vo
2012-10-24 18:43 ` Yannick Duchêne (Hibou57)
2012-10-24 18:53 ` Simon Wright
2012-10-24 19:02 ` Yannick Duchêne (Hibou57)
2012-10-24 21:43 ` Simon Wright [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