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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75d2eb9e2e52a8c5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!v8g2000yqb.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: Problem where a function is invoked once but called twice (when invocation is within an allocator). Date: Mon, 9 May 2011 17:55:44 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7333adc4-3b87-48cb-902a-bff11d062b6a@v8g2000yqb.googlegroups.com> References: <87r58dxeia.fsf@mid.deneb.enyo.de> <17caa8eb-8113-4199-83b7-9b199887a758@k15g2000pri.googlegroups.com> <68228b55-070c-4678-b584-8278988e73fc@k3g2000prl.googlegroups.com> <85890ff0-343f-4d79-aba0-c3d214b4a28e@t19g2000yql.googlegroups.com> <6f9bcec9-219d-4163-96f0-ddc4599f4274@d26g2000prn.googlegroups.com> NNTP-Posting-Host: 149.32.224.34 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1304988945 9276 127.0.0.1 (10 May 2011 00:55:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 10 May 2011 00:55:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v8g2000yqb.googlegroups.com; posting-host=149.32.224.34; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19208 Date: 2011-05-09T17:55:44-07:00 List-Id: On May 9, 5:24=A0pm, Rod Kay wrote: > On May 10, 10:14=A0am, Anh Vo wrote: > > > I got double calls, too. It is absolutely a compiler bug. > > =A0 =A0Yes, I suppose it must be. It will be interesting to try it again > when GPL11 arrives. Have you sent a bug report yet? I hope you did if you want to see it fix in GNAT-GPL-2011.