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,e528d54e6cc3c10d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!peernews3.colt.net!news0.de.colt.net!news-fra1.dfn.de!newsfeed.pionier.net.pl!news.nask.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Wojtek Narczynski Newsgroups: comp.lang.ada Subject: Re: why only in-parameters in functions Date: Thu, 30 Sep 2004 00:42:16 +0200 Organization: tp.internet - http://www.tpi.pl/ Message-ID: References: NNTP-Posting-Host: avb243.neoplus.adsl.tpnet.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: nemesis.news.tpi.pl 1096497943 1109 83.27.35.243 (29 Sep 2004 22:45:43 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Wed, 29 Sep 2004 22:45:43 +0000 (UTC) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: g2news1.google.com comp.lang.ada:4412 Date: 2004-09-30T00:42:16+02:00 List-Id: Hello, I've tried to produce a patch for GNAT for this. Of curse, I realize what "Standard" means, but I wanted to have this functionality (-gnatX controlled) in order to deliver new arguments, by exposing all the tricks caused by the absence of this feature. I believe this is the only way to put this discussion back on (technical) track. The Ada part was surprisingly easy, I only had to comment-out two lines. After that it worked for types passed by reference. But for types passed by copy, it turned out that modifications to GiGi C code are necessary. But this code is in flux now (due to gcc tree-ssa change), so I left it for now. Regards, Wojtek