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: 5b1e799cdb,3ef3e78eacf6f938 X-Google-Attributes: gid5b1e799cdb,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!noris.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 31 Jul 2009 12:48:20 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 Newsgroups: comp.lang.scheme,comp.lang.ada,comp.lang.functional,comp.lang.c++,comp.programming Subject: Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? References: <2009a75f-63e7-485e-9d9f-955e456578ed@v37g2000prg.googlegroups.com> <0bdf3c02-0565-40e2-95cc-c7f5eb546313@2g2000prl.googlegroups.com> <7xmy6mzy0q.fsf@ruckus.brouhaha.com> <4a714308$0$30229$9b4e6d93@newsspool1.arcor-online.net> <48679a94-4ce4-422e-8656-56bb682b08c0@d15g2000prc.googlegroups.com> <4a71c5f0$0$31880$9b4e6d93@newsspool3.arcor-online.net> <521b854d-0f3f-4df6-93af-5e0e62069501@g1g2000pra.googlegroups.com> <4A71D671.7000208@obry.net> <5b9460de-2f8f-4d85-9283-021d6455773f@a39g2000pre.googlegroups.com> In-Reply-To: <5b9460de-2f8f-4d85-9283-021d6455773f@a39g2000pre.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <4a72cbf5$0$31872$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 31 Jul 2009 12:48:21 CEST NNTP-Posting-Host: ee995ae6.newsspool3.arcor-online.net X-Trace: DXC=\GgZM<`>1lA0YVY]kmLTlDMcF=Q^Z^V3H4Fo<]lROoRA^YC2XCjHcbIVFX03I1?Jb@;9OJDO8_SKFNSZ1n^B98iJNo5;cOSnPlJ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.scheme:6240 comp.lang.ada:7480 comp.lang.functional:2569 comp.lang.c++:48800 comp.programming:12190 Date: 2009-07-31T12:48:21+02:00 List-Id: Isaac Gouy schrieb: > On Jul 30, 10:20 am, Pascal Obry wrote: >> Le 30/07/2009 19:09, fft1976 a �crit : >> >>> Can Ada be asked to inline automatically? >> Yes. See gnatmake's options -gnatn and -gnatN. Some inlining are also >> done at -O3 IIRC. > > > "Activate inlining for subprograms for which pragma inline is > specified" gives the impression that both a source code change - > pragma Inline(Select_Random); - and a compiler switch change would be > needed? In this case, yes, both pragma Inline and -gnatn -gnatN was used. The Annotated Ada RM says, though, that an implementation may inline in any case (or not), provided inlining preserves the semantics. (6.3.2)