comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Constraint checking of actuals passed to Attributes
Date: 2000/05/12
Date: 2000-05-12T00:00:00+00:00	[thread overview]
Message-ID: <wccsnvnsdpv.fsf@world.std.com> (raw)
In-Reply-To: 8fhnnj$ltd$1@nnrp1.deja.com

Ted Dennison <dennison@telepath.com> writes:

> But I still don't understand the logic behind making misuse of an
> overlay an "invalid" case rather than an "abonormal" (and thus
> erronious) case. Couldn't it cause the same -4 billion value to get
> placed into Y? The compiler would have no easy way to detect that the
> state has changed to "invalid". How do you enforce that the program
> "survives" this?

I'm not sure what you mean, here.  Could you post a specific example?
(Maybe you already did, but I've long since forgotten about it. ;-))

Certainly you can cause abnormal objects, and erroneousness, by certain
misuses of address clauses and unchecked conversions of access values,
both of which can be used to make overlays.

- Bob




  reply	other threads:[~2000-05-12  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-05  0:00 Constraint checking of actuals passed to Attributes Matt Brennan
2000-05-05  0:00 ` Keith Thompson
2000-05-08  0:00 ` Tucker Taft
2000-05-09  0:00   ` Robert Dewar
2000-05-09  0:00     ` Ted Dennison
2000-05-09  0:00       ` Robert Dewar
2000-05-09  0:00         ` Ted Dennison
2000-05-09  0:00           ` Robert Dewar
2000-05-09  0:00             ` Ted Dennison
2000-05-09  0:00               ` Robert A Duff
2000-05-09  0:00     ` Robert A Duff
2000-05-09  0:00       ` Robert Dewar
2000-05-09  0:00         ` Robert A Duff
2000-05-09  0:00           ` Keith Thompson
2000-05-10  0:00             ` Robert A Duff
2000-05-14  0:00               ` Simon Wright
2000-05-17  0:00                 ` Robert A Duff
2000-05-12  0:00             ` Tucker Taft
2000-05-12  0:00               ` Ted Dennison
2000-05-12  0:00                 ` Robert A Duff [this message]
2000-05-12  0:00                   ` Ted Dennison
2000-05-16  0:00                     ` Robert A Duff
2000-05-16  0:00                       ` Ted Dennison
2000-05-17  0:00                       ` Robert Dewar
2000-05-10  0:00           ` David C. Hoos, Sr.
2000-05-10  0:00           ` Robert Dewar
2000-05-10  0:00             ` Robert A Duff
2000-05-15  0:00             ` Bill Greene
2000-05-22  0:00           ` Kenneth Almquist
2000-05-10  0:00   ` Matt Brennan
replies disabled

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