From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,139d9b90ab37c0e5,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-26 01:30:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!news1!news1.global-ip.net!news3.global-ip.net!not-for-mail Message-ID: <3BD91EF8.EEB7EDBA@systems.saab.se> From: Per Sandberg X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: When to do a constraint check and not ?? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 26 Oct 2001 10:29:44 +0200 NNTP-Posting-Host: 139.58.232.1 X-Trace: news3.global-ip.net 1004084985 139.58.232.1 (Fri, 26 Oct 2001 10:29:45 MET DST) NNTP-Posting-Date: Fri, 26 Oct 2001 10:29:45 MET DST Xref: archiver1.google.com comp.lang.ada:15218 Date: 2001-10-26T10:29:44+02:00 List-Id: 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.