comp.lang.ada
 help / color / mirror / Atom feed
* When to do a constraint check and not ??
@ 2001-10-26  8:29 Per Sandberg
  2001-10-26 12:01 ` Peter Hend�n
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Per Sandberg @ 2001-10-26  8:29 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-11-05 10:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-26  8:29 When to do a constraint check and not ?? Per Sandberg
2001-10-26 12:01 ` 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

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