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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Markus_Sch=c3=b6pflin?= Newsgroups: comp.lang.ada Subject: Re: Profiling Ada binaries Date: Tue, 2 Aug 2016 08:39:47 +0200 Organization: Aioe.org NNTP Server Message-ID: <0f5aaa1d-9a63-a2df-a0c9-e9b215b930c1@spam.spam> References: <04e12bd0-2c9d-f90d-2497-bf58593addfd@spam.spam> <845e12db-9e2c-4d0f-a3b0-19ac50f14d24@googlegroups.com> NNTP-Posting-Host: MdpKeRr+sx3LK7JQiK5aNw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:31250 Date: 2016-08-02T08:39:47+02:00 List-Id: Am 02.08.2016 um 00:40 schrieb rieachus@comcast.net: > On Tuesday, July 26, 2016 at 4:37:31 AM UTC-4, Markus Schöpflin wrote: > >> GNAT by default uses static elaboration. There should be no elaboration >> checks when calling the generic versions. Or am I mistaken here? > > From the GNAT documentation: Strict conformance to the Ada Reference Manual > can be achieved by adding two compiler options for dynamic checks for > access-before-elaboration on subprogram calls and generic instantiations > (-gnatE) and stack overflow checking (-fstack-check). You lost me there. I was arguing that I don't need to worry about the performance impact of dynamic elaborations checks as GNAT by default uses static elaboration. Why would I want to turn on strict ARM conformance if I don't need it in this case? Markus