comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: compiler settings in AdaGIDE
Date: Mon, 26 Jul 2010 19:12:03 +0200
Date: 2010-07-26T19:12:03+02:00	[thread overview]
Message-ID: <t1rur5d9de5q$.tpylvsft9cvp.dlg@40tude.net> (raw)
In-Reply-To: 7fbf1431-3e0a-4cf1-954f-fb81ccc6c44d@y11g2000yqm.googlegroups.com

On Mon, 26 Jul 2010 08:48:58 -0700 (PDT), sjw wrote:

> On Jul 26, 3:13�pm, Ada novice <po...@gmx.us> wrote:
>> On Jul 25, 9:30 pm, "Jeffrey R. Carter"
>>
>> <spam.jrcarter....@spam.acm.org> wrote:
>>> On 07/25/2010 06:29 AM, Ada novice wrote:
>>> > 1. I see that you use -gnatnp. Is this safe to do so i.e. to suppress
>>> > all checks?
>>> No, but it is a little faster. You asked about maximizing speed, not about
>>> safety. Of course, none of this is going to make a significant difference, as
>>> you found out yourself. Significant speed changes come about from improved
>>> algorithms. The correct approach is to implement correctly, clearly, and safely,
>>> then measure against your timing requirements (which are unspecified), and only
>>> make changes if the result fails to meet the timing requirements.
>>
>> Thanks. I understand. I would prefer to keep the -gnatn just to be
>> safe.
> 
> -gnatp to suppress checks. -gnatn is about inlining.

The gentleman's set is:

debug

-gnatVa  all validity checks on
-gnatf  show all errors messages
-gnato  integer overflow check
-g  add debug info
-fstack-check  check stack overflow

release

-gnatVa
-gnatf
-gnato
-O2  medium level optimization
-gnatn  inline as defined by the user

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2010-07-26 17:12 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23  9:52 compiler settings in AdaGIDE Ada novice
2010-07-23 11:56 ` Gautier write-only
2010-07-23 14:23   ` Ada novice
     [not found]   ` <f72678ba-23ce-4c9a-b17e-b33fbd45300d@l14g2000yql.googlegroups.com>
2010-07-23 14:54     ` Georg Bauhaus
2010-07-23 15:16       ` Robert A Duff
2010-07-23 15:22         ` Georg Bauhaus
2010-07-23 16:51           ` sjw
2010-07-23 18:03             ` Robert A Duff
2010-07-23 18:27               ` Ada novice
2010-07-23 20:33                 ` Simon Wright
2010-07-23 19:31               ` Dmitry A. Kazakov
2010-07-23 21:01                 ` Robert A Duff
2010-07-23 22:32                   ` Peter C. Chapin
2010-07-24  1:48                   ` BrianG
2010-07-23 20:34               ` Simon Wright
2010-07-23 20:52                 ` Robert A Duff
2010-07-24 10:30                   ` Ada novice
2010-07-24 12:03                     ` Robert A Duff
2010-07-24 12:36                       ` Ada novice
2010-07-24 18:21 ` jonathan
2010-07-25 13:29   ` Ada novice
2010-07-25 19:30     ` Jeffrey R. Carter
2010-07-26 14:13       ` Ada novice
2010-07-26 15:48         ` sjw
2010-07-26 17:12           ` Dmitry A. Kazakov [this message]
2010-07-26 17:18           ` Ada novice
2010-07-25 22:57     ` jonathan
2010-07-26 14:12       ` Ada novice
2010-07-25 23:40     ` jonathan
2010-07-26  8:02   ` Making measurements (Was: compiler settings in AdaGIDE) Jacob Sparre Andersen
2010-07-26  9:57     ` jonathan
2010-07-26 13:50       ` Making measurements Jacob Sparre Andersen
2010-07-27 15:11   ` compiler settings in AdaGIDE Colin Paul Gloster
2010-08-01 16:39     ` Ada novice
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox