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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no 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 Received: by 10.205.123.140 with SMTP id gk12mr412274bkc.1.1335128431424; Sun, 22 Apr 2012 14:00:31 -0700 (PDT) Path: h15ni154002bkw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: gautier_niouzes@hotmail.com Newsgroups: comp.lang.ada Subject: Re: GNAT and register allocation Date: Sun, 22 Apr 2012 13:53:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <25429130.1239.1335127991071.JavaMail.geo-discussion-forums@ynlp2> 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> <87ipgtgkho.fsf@mid.deneb.enyo.de> <4f94379b$0$6639$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: 83.77.226.39 Mime-Version: 1.0 X-Trace: posting.google.com 1335128431 6878 127.0.0.1 (22 Apr 2012 21:00:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 22 Apr 2012 21:00:31 +0000 (UTC) In-Reply-To: <4f94379b$0$6639$9b4e6d93@newsspool2.arcor-online.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.77.226.39; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-04-22T13:53:10-07:00 List-Id: Le dimanche 22 avril 2012 18:53:46 UTC+2, Georg Bauhaus a =E9crit=A0: > Still, a pragma controlling inline expansion (not just the enabling > pramga that Ada has) seems a more pragma-tic way of specifying what > I'd like, in the shape of a clearly visible request. (The compiler > may still ignore it). > Controlling inline expansion by playing with sizes of subprograms > seems possible, but a little adventurous. >=20 > Currently, I see only one way, writing a forest of > options for translating units of re-structured programs... Did you consider the -gnatn option (rather: not using it...) ? "-gnatn Enable pragma Inline (both within and across units)" (the "within" is relatively new: IIRC -gnatn was controlling only cross-uni= t inlining some time ago). _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada NB: follow the above link for a valid e-mail address