comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <nobody@nowhere.fi>
Subject: Re: "Do not use" feature list for GNAT
Date: Tue, 23 Aug 2005 23:49:34 +0300
Date: 2005-08-23T23:49:34+03:00	[thread overview]
Message-ID: <37MOe.11986$Ae.452@reader1.news.jippii.net> (raw)
In-Reply-To: <877jecppv2.fsf@mid.deneb.enyo.de>

Florian Weimer wrote:
> Would you like to share a list of language areas which you should
> avoid when using GNAT because AdaCore customers do not stress-test
> them and they are riddled with strange bugs?
> 
> My current list looks roughly like this:
> 
>   - access discriminants (several ICE-on-legal bugs)
> 
>   - subunits (ICE, maybe on invalid input, I'm not sure)
> 
>   - the 'Valid attribute (wrong-code bug with GCC 4)
> 
>   - conditional entry calls (run-time bug in GNAT 3.15p)
> 
> Anything I've missed so far?

I have seen wrong results from the predefined "=" operator for 
packed Boolean arrays (logically equal values were reported as not 
equal). This was GNAT 3.15p on Debian Sarge. I worked around the 
problem by defining my own, ugly, element-by-element version of 
the "=" operator.

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .



  parent reply	other threads:[~2005-08-23 20:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23 16:41 "Do not use" feature list for GNAT Florian Weimer
2005-08-23 17:23 ` Ludovic Brenta
2005-08-23 19:31   ` Preben Randhol
2005-08-23 19:56     ` Ludovic Brenta
2005-08-23 20:49 ` Niklas Holsti [this message]
2005-08-24  7:51 ` Dmitry A. Kazakov
2005-08-24  8:54   ` David Trudgett
2005-08-24  9:20   ` Adrien Plisson
2005-08-24 10:05     ` Ludovic Brenta
2005-08-24 21:30       ` Simon Wright
2005-08-24 21:37     ` Simon Wright
2005-08-24 13:09   ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox