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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.152.196 with SMTP id a187mr1524420ioe.38.1510851737092; Thu, 16 Nov 2017 09:02:17 -0800 (PST) X-Received: by 10.157.1.175 with SMTP id e44mr103823ote.1.1510851736981; Thu, 16 Nov 2017 09:02:16 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.kjsl.com!usenet.stanford.edu!d140no393537itd.0!news-out.google.com!193ni850iti.0!nntp.google.com!d140no393532itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 16 Nov 2017 09:02:16 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:191:8303:2100:5985:2c17:9409:aa9c; posting-account=fdRd8woAAADTIlxCu9FgvDrUK4wPzvy3 NNTP-Posting-Host: 2601:191:8303:2100:5985:2c17:9409:aa9c References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <920c1eff-2cfa-48d4-a0a7-6b6f0a205ce5@googlegroups.com> Subject: Re: Tests in a software release From: Robert Eachus Injection-Date: Thu, 16 Nov 2017 17:02:17 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: feeder.eternal-september.org comp.lang.ada:48936 Date: 2017-11-16T09:02:16-08:00 List-Id: On Saturday, October 28, 2017 at 3:35:21 AM UTC-4, Dmitry A. Kazakov wrote: > On 2017-10-28 08:53, G.B. wrote: > > On 27.10.17 20:54, Dmitry A. Kazakov wrote: > >> The contract requires Constraint_Error propagation. > >=20 > > Checks require Constraint_Error propagation. >=20 > Checks ensure Constraint_Error as a part of implementation. It is worth remembering that there are checks for conditions which do not r= aise Constraint_Error. I actually used a Suppress for elaboration checks o= nce. ;-) There was a call in a function body that could only occur after = elaboration was complete, but the compiler couldn't find a valid elaboratio= n order without the Suppress. It has been decades, so I can't remember the= details. On a related issue, the need for gotos seems to be limited to implementatio= ns of finite state machines (FSMs). I guess I could write a program that w= ould generate goto-less code for deterministic FSMs, For non-deterministic = FSMs, I guess the way to go would be to turn them into deterministic FSMs. = Maintaining such code would be next to impossible.