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.215.68 with SMTP id hd4mr9684613qab.5.1371496526760; Mon, 17 Jun 2013 12:15:26 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.49.36.199 with SMTP id s7mr387576qej.17.1371496526746; Mon, 17 Jun 2013 12:15:26 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!j2no522689qak.0!news-out.google.com!y6ni3349qax.0!nntp.google.com!j2no522678qak.0!postnews.google.com!u9g2000vbc.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 17 Jun 2013 12:15:26 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: u9g2000vbc.googlegroups.com; posting-host=105.236.184.29; posting-account=p-xPhAkAAADjHQWEO7sFME2XBdF1P_2H NNTP-Posting-Host: 105.236.184.29 References: <7f33982d-3bcf-452e-a3b3-3a0a28505ff1@x20g2000vbe.googlegroups.com> <87r4g0g9c0.fsf@adaheads.sparre-andersen.dk> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1, gzip(gfe) Message-ID: <049bb1b4-4a9f-4238-8d60-c990f1a1d392@u9g2000vbc.googlegroups.com> Subject: Re: Bug in 'gnatmake' (Was: Range check for type 'Integer') From: Peter Brooks Injection-Date: Mon, 17 Jun 2013 19:15:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 2036 Xref: number.nntp.dca.giganews.com comp.lang.ada:181898 Date: 2013-06-17T12:15:26-07:00 List-Id: On Jun 17, 6:50=A0pm, Robert A Duff wrote: > > You usually want -g (debugging info). =A0And the debugger works > better if you turn off optimizations (-O0). > Since you mention it, I'm interested to know if there are many Ada benchmarks. Leaving on range, and other, checking must slow things down a tad, but turning the optimiser on must speed them up. It'll only really matter in CPU intensive stuff, but do you have any idea what the effects are? More or less. I know I could just take my code and try it, but it'd be interesting to have a bigger picture of the performance question.