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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:cd87:: with SMTP id l129mr3322489itg.55.1559888993678; Thu, 06 Jun 2019 23:29:53 -0700 (PDT) X-Received: by 2002:aca:ea05:: with SMTP id i5mr2709667oih.51.1559888993418; Thu, 06 Jun 2019 23:29:53 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder4.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.70.MISMATCH!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!s188no171083itb.0!news-out.google.com!l135ni275itc.0!nntp.google.com!g15no165119itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 6 Jun 2019 23:29:53 -0700 (PDT) In-Reply-To: <87pnnpx6ce.fsf@nightsong.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2001:8004:1420:de2:3c2c:6580:a925:cfe; posting-account=rfeywQoAAAC0TKn5ZjdVW0ytcQM1oMSv NNTP-Posting-Host: 2001:8004:1420:de2:3c2c:6580:a925:cfe References: <55b14350-e255-406c-ab11-b824da77995b@googlegroups.com> <6776b034-1318-49b3-8ff5-5a2f746fac9c@googlegroups.com> <87blzaxnei.fsf@nightsong.com> <87y32evsxm.fsf@nightsong.com> <87pnnpx6ce.fsf@nightsong.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <79e178f1-3aae-444a-a3d1-8414f9d2434e@googlegroups.com> Subject: Re: Toy computational "benchmark" in Ada (new blog post) From: David Trudgett Injection-Date: Fri, 07 Jun 2019 06:29:53 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2212 X-Received-Body-CRC: 2925141811 Xref: reader01.eternal-september.org comp.lang.ada:56529 Date: 2019-06-06T23:29:53-07:00 List-Id: Il giorno venerd=C3=AC 7 giugno 2019 16:22:26 UTC+10, Paul Rubin ha scritto= : > David Trudgett writes: > > It would appear you did not turn on optimisations since, as you > > noticed, it is directly using the stack frame variable rather than > > keeping it in a register. >=20 > I used your .gpr file which has -O3 in it. Is there something else I > should do? If you used the project file, it should be optimised, but it obviously isn'= t, so I don't know what you did. Try GNAT Community 2019 instead, perhaps? Cheers, David