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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.57.65 with SMTP id b1mr5886155qah.2.1371694274853; Wed, 19 Jun 2013 19:11:14 -0700 (PDT) X-Received: by 10.50.2.34 with SMTP id 2mr290401igr.8.1371694274804; Wed, 19 Jun 2013 19:11:14 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!news.glorb.com!j2no900005qak.0!news-out.google.com!y6ni3510qax.0!nntp.google.com!j2no900001qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 19 Jun 2013 19:11:14 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ NNTP-Posting-Host: 66.126.103.122 References: <7f33982d-3bcf-452e-a3b3-3a0a28505ff1@x20g2000vbe.googlegroups.com> <87r4g0g9c0.fsf@adaheads.sparre-andersen.dk> <87ip1bg4z2.fsf_-_@adaheads.sparre-andersen.dk> <53d0b070-a03b-43d0-a560-68dd3a8bebf5@googlegroups.com> <51c218df$0$6623$9b4e6d93@newsspool2.arcor-online.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2326c0e0-0eae-4259-bca1-049666ce9653@googlegroups.com> Subject: Re: Elaboration order handling (Was: Bug in 'gnatmake') From: Adam Beneschan Injection-Date: Thu, 20 Jun 2013 02:11:14 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:15855 Date: 2013-06-19T19:11:14-07:00 List-Id: On Wednesday, June 19, 2013 5:57:35 PM UTC-7, Robert A Duff wrote: > And with standard Ada, it's even worse: the order can change for any > reason, or for no reason. The implementation is allowed to roll dice > to determine the order! Even running the exact same program without > recompiling could change order! You say that like it's a bad thing. Actually, I can see a use for a compil= er option to use a random number generator to determine the elaboration ord= er (or other things that are implementation-dependent), because if the prog= ram relies on the order when it shouldn't, a random order will increase the= chance that repeated testing will expose the problem. -- Adam