comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Constraint checking of actuals passed to Attributes
Date: 2000/05/17
Date: 2000-05-17T00:00:00+00:00	[thread overview]
Message-ID: <8fv1ru$2ur$1@nnrp1.deja.com> (raw)
In-Reply-To: wccln1a5wh8.fsf@world.std.com

In article <wccln1a5wh8.fsf@world.std.com>,
  Robert A Duff <bobduff@world.std.com> wrote:
> The difference between abnormal and erroneous is pretty small
> abnormal is just one small step short of disaster (where
> erroneous disaster).

Hmmm! It would clearly be absolutely conformant to have
a compiler which when you accessed an abnormal variable
and caused erroneousity which in practice was mild in
effect, and on the other hand where any access to an
uninitialized variable was defined by the implementation
to delete all picture and movie files from your disk,
send messages to all the people on your outlook
list, and send messages about your configuration back
to the Phillipines. As long as this was appropriately
documented (see thread on documentation requirements),
this would be valid behavior.

Trying to categorize levels of disaster is a tricky game :-)

No doubt Bob will protest that the reference to implementation
defined that I am exploiting here was not intend to allow
this *particular* definition, arguing from (reverant music
starts --- O R I G I N A L   I N T E N T).

In practice, I think the important thing is that compilers do
reasonable things, and have several modes corresponding to
various desirable behaviors in terms of undefined behavior.




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




  parent reply	other threads:[~2000-05-17  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     ` 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
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 [this message]
2000-05-10  0:00           ` Robert Dewar
2000-05-10  0:00             ` Robert A Duff
2000-05-15  0:00             ` Bill Greene
2000-05-10  0:00           ` David C. Hoos, Sr.
2000-05-22  0:00           ` Kenneth Almquist
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-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