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,46a68619f4362304 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Specifying parameter passing convention and place (register) Date: Wed, 07 Jul 2004 14:13:41 +0100 Message-ID: References: <$RVvBAOy5BPi@eisner.encompasserve.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de CXBFDHLElHtQfNdREnGZ+Qq50Gd9ONoAC6gYFqrckLF2OlpHc= User-Agent: Opera M2/7.51 (Win32, build 3798) Xref: g2news1.google.com comp.lang.ada:2100 Date: 2004-07-07T14:13:41+01:00 List-Id: On 6 Jul 2004 23:14:19 -0500, Larry Kilgallen wrote: >> Where would I find the documentation for this, please? I have >> sought but not found. > > I would presume it is in the GNAT documentation. Hehe. First place I looked Larry ;-) Unfortunately, the GNAT documentation simply refers the reader to the DEC documentation, and I cannot find the DEC documentation anywhere :-( > I would think the fact that GNAT also implements it would be > a good reason. DEC Ada is still used on VAX and Alpha, but > is not being ported to the Itanium implementation of VMS. > No new features are being added, but support is available > from HP. But the point is that GNAT only implements it for VMS targets, and it doesn't seem that any Ada compiler targetting VMS has much of future. > The current name is either Compaq Ada or HP Ada, depending > on how far the renaming police have gotten. Well, HP say it is now called 'HP Ada'. Can we have that with sauce? >> GNAT on any other platform (than VMS) uses the GCC way of >> inlining machine code, which I am certainly not going to >> replicate. > > I was referring to calling other languages, not inlining. Yes, but machine code insertions and parameter passing mechanisms are deeply intertwined. In particular, a (usable) implementation must provide a way to access parameters in a machine code insertion. This is typically done by means of implementation-specific attributes, and I'd be interested in knowing what attributes (and related pragmas) other Ada implementations use, and why. -- Thanks again, Nick Roberts