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,a88e582de42cdc9b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Access type (mis)use (Was: Bug in Ada (SuSe 10.2) ?) References: <0_mdna0iHpIsCifaRVnzvQA@telenor.com><47ba9867$0$21892$4f793bc4@news.tdc.fi><3a281192-2744-4110-9fc1-90c155c9436b@d4g2000prg.googlegroups.com><48277611-402f-4622-be05-6edddf6dd56a@o10g2000hsf.googlegroups.com> <624tcvF21i3nvU1@mid.individual.net><2630d99b-1578-4d79-ac9c-64c00c203b77@e60g2000hsh.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1203629159 12.201.97.213 (Thu, 21 Feb 2008 21:25:59 GMT) NNTP-Posting-Date: Thu, 21 Feb 2008 21:25:59 GMT Organization: AT&T ASP.att.net Date: Thu, 21 Feb 2008 21:25:59 GMT Xref: g2news1.google.com comp.lang.ada:19951 Date: 2008-02-21T21:25:59+00:00 List-Id: Bob Klungle wrote: > > For what it is worth, cygwin gnatmake 3.4.4 yields > 9 > 11 That might depend on the compiler and optimization level. A good optimizer might indicate that the 2nd procedure does nothing with its variable, and eliminate it. It might even be able to see that the 2nd procedure does nothing, and eliminate the call to it. -- Jeff Carter "Beyond 100,000 lines of code you should probably be coding in Ada." P. J. Plauger 26