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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2a34b7ad6c6a0774 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Efficiency of code generated by Ada compilers Date: Wed, 11 Aug 2010 01:38:37 +0200 Organization: Ada At Home Message-ID: References: NNTP-Posting-Host: anOtUalzMUZHasssFqT+2w.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.60 (Win32) Xref: g2news1.google.com comp.lang.ada:13098 Date: 2010-08-11T01:38:37+02:00 List-Id: Le Wed, 11 Aug 2010 01:28:25 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > In =E2=80=9C11.5 Suppressing Checks=E2=80=9D: > 4/2 pragma Suppress(identifier [, [On =3D>] name]); Strange. I've noticed it with the reply to you : the =E2=80=9C[, [On =3D= >] name]=E2=80=9D = appeared in the message while it is not visible in my reference. May be = = some trouble with the HTML version I use. So this is part of the RM. Hey... I've just check the online version at AdaIC, it says http://www.adaic.org/standards/05rm/html/RM-11-5.html 3/2 The forms of checking pragmas are as follows: 4/2 pragma Suppress(identifier); 4.1/2 pragma Unsuppress(identifier); Let me guess: the reference I use is a reworked HTML version of the = annotated reference, where text originally marked as deleted are hidden.= = So I suppose this =E2=80=9C[, [On =3D>] name]=E2=80=9D was part of an ol= d standard and was = dropped with Ada 2005. ... some time later ... Yes, got it. The ARM for Ada 95 says: http://www.adahome.com/rm95/rm9x-11-05.html pragma Suppress(identifier [, [On =3D>] name]); This is no more valid Ada (well.... this is still valid Ada 95, this is = = just not more valid Ada 2005/2012) -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.