comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Importing C Structures
Date: 1995/04/07
Date: 1995-04-07T00:00:00+00:00	[thread overview]
Message-ID: <1995Apr7.080930.9606@eisner.decus.org> (raw)
In-Reply-To: 19950327.180750.74@banana.demon.co.uk

In article <19950327.180750.74@banana.demon.co.uk>, kevq@banana.demon.co.uk (Kevin F. Quinn) writes:
> In article <1995Mar26.081652.9489@eisner>,
>           kilgallen@eisner.decus.org (Larry Kilgallen, LJK Software) wrote:
> 

> > For an address representation clause, which might be used to access hardware,
> > optimizing out dead assignments seems quite inappropriate.  Is there no
> > Ada83 method of avoiding such an optimization for such objects?

> Most compilers I've used have a "pragma Volatile" or similar, which
> marks a variable so that the optimiser leaves it in memory.  If your

Oh, the compiler I use has lots of that stuff, but it is printed in blue
ink (non-standard) and this seems such a basic concept (for a language
that provides Address clauses at all) that I was hoping for a standard
method.

Since one is looking at machine addresses, the code is by definition
non-portable, but recent experience in another language has made me
hyper-sensitive to vendor-specific enhancements.  If someday there were
a second compiler vendor for the platform, standard syntax might be
useful.

Larry Kilgallen




  reply	other threads:[~1995-04-07  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-23  6:34 Importing C Structures Chris O'Regan
1995-03-23  7:55 ` Vladimir Vukicevic
1995-03-23 18:55   ` Robert S. White
1995-03-24  8:51     ` Vladimir Vukicevic
1995-03-25  9:57       ` Keith Thompson
1995-03-26 13:16         ` Larry Kilgallen, LJK Software
1995-03-27  0:00           ` Kevin F. Quinn
1995-04-07  0:00             ` Larry Kilgallen [this message]
1995-03-27 15:35           ` Theodore Dennison
1995-03-28  0:00             ` Robert Dewar
1995-03-28 11:44             ` Keith Thompson
1995-03-29  0:00               ` misattrubation (was: Re: Importing C Structures) Theodore Dennison
1995-03-31  0:00                 ` Theodore Dennison
1995-03-27 23:39           ` Importing C Structures Keith Thompson
1995-03-27 16:00       ` Norman H. Cohen
1995-03-24 16:08     ` Robert I. Eachus
1995-03-24 20:20     ` Bob Gilbert
1995-03-25 18:07     ` Robert Dewar
1995-03-24 17:30   ` Robert Dewar
1995-03-24 15:32 ` Robert Dewar
replies disabled

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