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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f727b37cf2b2e501 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-31 13:53:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: No_Abort_Statements Date: Thu, 31 Jul 2003 15:55:17 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:41106 Date: 2003-07-31T15:55:17-05:00 List-Id: "Stephan Heinemann" wrote in message news:bgbrbg$3ds$1@news.cs.tu-berlin.de... > D.7.5 says > > No_Abort_Statements > There are no abort_statements, and there are no calls on > Task_Identification.Abort_Task. > > My compiler (gnat) detects only the violation caused by "abort T;". But I get > away with "Abort_Task(T'Identity);" or using ATC via select (see below). > Now, I am not quite sure what this restriction really covers... Abort_Task > should obviously be detected but what about ATC? The restriction covers what it says; there isn't anything implied. An ATC contains neither an abort_statement (check the grammar) nor a call to Abort_Task. It seems like there should be a way to eliminate ATC as well. Ravenscar uses No_Select_Statements (which will be in Ada 0Y), but that is too broad a brush if you just want to get rid of aborts. You probably should send a bug report to ACT (about the missing Abort_Task) and a comment to Ada-Comment (about ATC). Randy.