comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: gnat/ppc and a32 blt transfers
Date: 2000/11/06
Date: 2000-11-06T00:00:00+00:00	[thread overview]
Message-ID: <8u5s27$qau$1@nnrp1.deja.com> (raw)
In-Reply-To: 8u1k6c$9ic1@news.cis.okstate.edu

In article <8u1k6c$9ic1@news.cis.okstate.edu>,
  dstarner98@aasaa.ofe.org wrote:
> May I point out that this is true for most languages,
> including C. The Linux kernel people have got burnt several
> times assuming otherwise and then the gcc people changed the
> compiler on them.

Indeed, there is nothing special about Ada here, and yes, indeed
the situation is exactly the same in C (although C programmers
tend to be less aware of the boundary between what works and
what is defined in the language).

One interesting difference between Ada and C here is that
the Ada RM specifically recognizes that a compiler must provide
an appropriate mechanism for insertion of machine language
statements (assuming the systems programming annex is
implemented). Of course these mechanisms are not portable
(not even between different compilers on the same machine,
except in the case of the Motorola 88000 where the ABI specified
exactly the form of package Machine_Language for Ada compilers.
There is no such requirement in C as far as I remember (I do
not have the C standard at hand to double check).


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-11-06  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-01 19:47 gnat/ppc and a32 blt transfers Al Johnston
2000-11-01 20:52 ` Robert Dewar
2000-11-02  4:55   ` DuckE
2000-11-02 14:26     ` Robert A Duff
2000-11-02 19:58 ` Al Johnston
2000-11-04  5:02   ` Robert Dewar
2000-11-04  0:00     ` Al Johnston
2000-11-05  0:00       ` Florian Weimer
2000-11-04  0:00     ` David Starner
2000-11-06  0:00       ` Robert Dewar [this message]
2000-11-11  6:38         ` David Thompson
2000-11-06  7:39       ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox