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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,29fe9a340e0d180d X-Google-Attributes: gid103376,public From: hbaker@netcom.com (Henry Baker) Subject: Re: Depending on passing mechanism Date: 1997/10/14 Message-ID: #1/1 X-Deja-AN: 280455163 Sender: hbaker@netcom23.netcom.com References: Organization: nil Newsgroups: comp.lang.ada Date: 1997-10-14T00:00:00+00:00 List-Id: In article , dewar@merv.cs.nyu.edu (Robert Dewar) wrote: > < or by copy (see RM95 6.2). This allows for greater efficiency (bit > arrays may be passed in registers, etc.), but under some > circumstances, this can change program semantics (RM95 6.2(12)). > >> > > No, this cannot change program semantics, since the semantics is formally > non-deterministic (that is a change in Ada 95). Yes, it may change program > behavior, but program behavior is occasionally non-deterministic in Ada, > and this is one of those cases. It should be comforting to you when your Boeing 777 crashes that its Ada code met the standard.... This is another one of those cases that give standards bodies such a bad name -- the behavior is well-defined as 'non-deterministic', but non-functional.