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=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!postnews.google.com!l14g2000yql.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: compiler settings in AdaGIDE Date: Fri, 23 Jul 2010 11:27:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <95bd10c9-8747-4f02-b20b-8d4244465949@5g2000yqz.googlegroups.com> <4c49ad26$0$6880$9b4e6d93@newsspool2.arcor-online.net> <4c49b3ca$0$6891$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1279909635 4207 127.0.0.1 (23 Jul 2010 18:27:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 23 Jul 2010 18:27:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l14g2000yql.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12505 Date: 2010-07-23T11:27:15-07:00 List-Id: Thanks for all the reading! It seems that I better keep -gnato (as I don't want to remove any numeric overlfow checking). Georg: Yes, I'm using floating point types (Long_float). I'll take away the -gnatVa as Robert suggested. Quote from Georg: "Last time I checked the sections on optimization in the GNAT docs recommend -O2 -funroll-loops IIRC" What's IIRC? In AdaGIDE, the optimization is mentioned in Options > settings as level O2. But writing -O2 -funroll-loops implies O3. Am I right? So then writing -O3 -funroll-loops contains redundant information. YC