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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,345a8b767542016e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-21 16:25:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail Sender: mjw@golux Newsgroups: comp.lang.ada Subject: Re: memory leakages with Ada? References: <3c90af1e@news.starhub.net.sg> <3c91bfa3.1987537@news.demon.co.uk> <3C9629E3.8030109@home.com> <3C9645DD.4020006@mail.com> <3C9659B6.6030204@mail.com> From: Matthew Woodcraft Message-ID: <87y9glcusu.fsf@golux.ecstacy.dynamic.greenend.org.uk> User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: 22 Mar 2002 00:25:53 +0000 NNTP-Posting-Host: 213.107.104.73 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 1016756721 213.107.104.73 (Fri, 22 Mar 2002 00:25:21 GMT) NNTP-Posting-Date: Fri, 22 Mar 2002 00:25:21 GMT Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:21523 Date: 2002-03-22T00:25:53+00:00 List-Id: Hyman Rosen writes: > Sure, but I have to assume that the value constructed in the > called routine then needs to be copied to the callers frame > instead of being constructed in place. I don't see how this > can be otherwise using a conventional stack, unless you don't > pop the stack after a call, which would blow the stack away > if you had the call in a loop. Well, if you want to know how it can be done, you could try starting at . See the keep_stack_depressed() function. -M-