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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b49d3a703a4b4db5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: compiler settings in AdaGIDE Date: Fri, 23 Jul 2010 11:16:14 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <95bd10c9-8747-4f02-b20b-8d4244465949@5g2000yqz.googlegroups.com> <4c49ad26$0$6880$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1279898160 27129 192.74.137.71 (23 Jul 2010 15:16:00 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 23 Jul 2010 15:16:00 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:pHl2XbiiJRYUClq6pC1h5rvzKpA= Xref: g2news1.google.com comp.lang.ada:12501 Date: 2010-07-23T11:16:14-04:00 List-Id: Georg Bauhaus writes: > On 23.07.10 16:17, Ada novice wrote: >> Hi, >> Thanks for your kind help. As I mentioned earlier, I use >> >> -gnatVa -O3 -gnatn -funroll-loops -gnatf -gnato If you want speed, then you don't want -gnatVa. > One thing you could do---after showing that your program > is correct---is remove numeric overflow checking > (-gnato). To clarify: -gnato turns overflow checking ON -- it's off by default. >...Or turn off all checks (-gnatp). The program is no > standard Ada program then, but since your program is correct... :-) It's still a standard Ada program. - Bob