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,a4ac379de0af89d6 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: ACT announces first 100% validations of Ada 95 compilers Date: 1997/03/11 Message-ID: #1/1 X-Deja-AN: 224746239 References: <331FDDB7.7520@bix.com> <5frl9d$19d$1@news.nyu.edu> <332412BB.665C@elca-matrix.ch> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-03-11T00:00:00+00:00 List-Id: Mats asks <> No, optimization did not cause toruble for validation, because, as Richard noted we chose to do the validation at -O0. You have to choose one specific set of switches for validation, and we chose -O0 because it makes debugging easier. Obviously it is impractical to run the suite with every possible combination of compile switches, but it is useful to run the suite at different optimziation levels, and we are in fact in the process of doing that now, and at some point will do it systematically (we run the ACVC every night on several machines, so our plan was to use different options each night :-) In practice, we have known cases of bugs appearing only at -O2, and also cases of bugs appearing only at -O0, but both events are rare, and lots of our customers are routinely using -O2 for delivered code. The GNAT compiler itself is tyically compiled with -O1. Robert Dewar Ada Core Technologies