From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1d6e3c069f70fa5a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!transit0.news.tiscali.nl!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!border1.nntp.ams.giganews.com!feeder2.news.jippii.net!reader1.news.jippii.net!53ab2750!not-for-mail From: Niklas Holsti Organization: Tidorum Ltd User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: "Do not use" feature list for GNAT References: <877jecppv2.fsf@mid.deneb.enyo.de> In-Reply-To: <877jecppv2.fsf@mid.deneb.enyo.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <37MOe.11986$Ae.452@reader1.news.jippii.net> Date: Tue, 23 Aug 2005 23:49:34 +0300 NNTP-Posting-Host: 81.17.205.61 X-Complaints-To: newsmaster@saunalahti.com X-Trace: reader1.news.jippii.net 1124830783 81.17.205.61 (Tue, 23 Aug 2005 23:59:43 EEST) NNTP-Posting-Date: Tue, 23 Aug 2005 23:59:43 EEST Xref: g2news1.google.com comp.lang.ada:4271 Date: 2005-08-23T23:49:34+03:00 List-Id: 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 . @ .