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.224.36.15 with SMTP id r15mr12623254qad.8.1373908584345; Mon, 15 Jul 2013 10:16:24 -0700 (PDT) X-Received: by 10.49.30.105 with SMTP id r9mr1709349qeh.4.1373908584277; Mon, 15 Jul 2013 10:16:24 -0700 (PDT) Path: border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!t19no1705684qam.0!news-out.google.com!dk8ni0qab.0!nntp.google.com!t19no1705680qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 15 Jul 2013 10:16:24 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=79.195.169.155; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 79.195.169.155 References: <74c64a2c-f062-4b59-aafb-40c0bac39203@googlegroups.com> <151a6f74-9100-49dc-8c0c-f656aed1d7ea@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2a694e77-50e9-467c-91da-9ef31e4c5082@googlegroups.com> Subject: Re: GNAT does not consistently raise an exception to log(0.0) From: AdaMagica Injection-Date: Mon, 15 Jul 2013 17:16:24 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:182523 Date: 2013-07-15T10:16:24-07:00 List-Id: > I suppose that would be 11.6(5): > > http://www.adaic.org/resources/add_content/standards/12rm/html/RM-11-6.html Yes, exactly, I wasn't in a mood to look it up, sorry. > No--I only attempt to output an invalid value. The Put_Line is never > executed because the exception is raised before that, at the log(0.0) level. That's as expected. X is no longer optimized away, so log (0.0) raises CE. Christoph