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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5b3aa4bc9027f04e X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!c11g2000yqj.googlegroups.com!not-for-mail From: belteshazzar Newsgroups: comp.lang.ada Subject: Re: Unconstrained Arrays Date: Tue, 17 Mar 2009 16:10:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <386b0e00-a1c6-4c5f-adf7-89b8543d0e2d@c11g2000yqj.googlegroups.com> References: <1a8008fb-c840-45bc-824c-d10eec9fe569@d36g2000prf.googlegroups.com> <0caa9cf8-0620-4544-9b2c-2c9f24142b7f@v23g2000pro.googlegroups.com> NNTP-Posting-Host: 203.36.107.146 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1237331458 29811 127.0.0.1 (17 Mar 2009 23:10:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Mar 2009 23:10:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c11g2000yqj.googlegroups.com; posting-host=203.36.107.146; posting-account=SuaatgoAAADZMrKGiLdPOjCBBS4KZzVT User-Agent: G2/1.0 X-HTTP-Via: 1.1 SRV021 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5137 Date: 2009-03-17T16:10:57-07:00 List-Id: On Mar 18, 3:56=A0am, "Jeffrey R. Carter" wrote: > Jeffrey R. Carter wrote: > > > I know of no compiler that will not use pass by reference. > > Rereading, I realize this may be difficult to understand, especially for = those > who are not native English speakers. So I'll rephrase: > > Every compiler that I'm familiar with will use pass by reference. > > -- > Jeff Carter > "My dear Mrs. Hemoglobin, when I first saw you, I > was so enamored with your beauty I ran to the basket, > jumped in, went down to the city, and bought myself a > wedding outfit." > Never Give a Sucker an Even Break > 111 Unfortuantely this is an optimisation and actually doesn't occur with optimisation off. (I just ran a test program). I'm told that due to the significant performance hit of the array initialisers when optimisation is turned off we can't use that.