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,a32653cf595422e6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.227.230 with SMTP id sd6mr8661622pbc.8.1335010175877; Sat, 21 Apr 2012 05:09:35 -0700 (PDT) Path: r9ni81655pbh.0!nntp.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GNAT and register allocation References: <4f9138c2$0$6628$9b4e6d93@newsspool2.arcor-online.net> <4f9145b5$0$6557$9b4e6d93@newsspool4.arcor-online.net> <4f918218$0$6557$9b4e6d93@newsspool4.arcor-online.net> Date: Sat, 21 Apr 2012 08:10:07 -0400 Message-ID: <82r4vhi8v4.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:zcCKA3j//wBfGO09oIWzF6c3K9I= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: a40634f92a37fe029e66102210 X-Received-Bytes: 1522 Content-Type: text/plain; charset=us-ascii Date: 2012-04-21T08:10:07-04:00 List-Id: Georg Bauhaus writes: > Some variance in addition results from both the depth and the amount of > "recursive expansion". What I am after, then, is how to control > inline expansion, insofar as it affects sets of registers in a single > compilation unit. (Assuming I can do better than GCC's heuristic > apparatus.) Ok. > I must use one set of options for an entire program in this case. Why? gpr files give you a way to apply different compilation options to different files. There are _lots_ of low-level gcc options controlling inline and other optimizations; see gnat user guide, section 3.10. -- -- Stephe