comp.lang.ada
 help / color / mirror / Atom feed
From: Per Sandberg <prsa@systems.saab.se>
Subject: When to do a constraint check and not ??
Date: Fri, 26 Oct 2001 10:29:44 +0200
Date: 2001-10-26T10:29:44+02:00	[thread overview]
Message-ID: <3BD91EF8.EEB7EDBA@systems.saab.se> (raw)

Assume the folowing code:

procedue bla is
	b : boolean; --< B may contain any bit pattern at this point.

	procedure test( p : in out boolean ) is
	begin
		b := false;
	end test;

begin
	test(b); --<< Is the compiler allowed to insert a constraint check on b
here ??
end;

Is the answer that it is up to the wendor.
I did not get any clues from the LRM.

/Per Sandberg.



             reply	other threads:[~2001-10-26  8:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-26  8:29 Per Sandberg [this message]
2001-10-26 12:01 ` When to do a constraint check and not ?? Peter Hend�n
2001-10-26 13:57 ` DuckE
2001-10-26 14:18 ` Ted Dennison
2001-10-26 23:44 ` Jeffrey Carter
2001-11-01 17:54 ` Tucker Taft
2001-11-02  3:44   ` Robert Dewar
2001-11-05 10:02 ` Peter Amey
replies disabled

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