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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e13b2443cdd722bd,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-30 13:57:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!news2-2.free.fr!not-for-mail From: "Thierry BERNIER" Newsgroups: comp.lang.ada Subject: Constant elaboration order Date: Fri, 30 Nov 2001 22:59:02 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: <3c0800dc$0$211$626a54ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 30 Nov 2001 22:57:53 MET NNTP-Posting-Host: 213.228.8.193 X-Trace: 1007157473 news2-2.free.fr 211 213.228.8.193 X-Complaints-To: abuse@proxad.net Xref: archiver1.google.com comp.lang.ada:17249 Date: 2001-11-30T22:57:53+01:00 List-Id: Bonjour, >From those who learn the RM each evening before sleep, I would like to know if I can assert that elaboration order is always the same for a given executable. It seems clearly true for GNAT when you read the binder generated startup code (b~foo.adb), but what about the law ? An interesting advice I found is following, but it does not answer (and is only an advice). -- Thierry Bernier: RM95-10.2.1(12) says : In an implementation, a type declared in a preelaborated package should have the same representation in every elaboration of a given version of the package, whether the elaborations occur in distinct executions of the same program, or in executions of distinct programs or partitions that include the given version.