Re: -O1 single optimization parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 9, 2008 at 12:36 PM, Andrew Haley <aph@xxxxxxxxxx> wrote:
>> So which parameter are missing from that list?
>
> You seem to think it is possible to do that.  I don't know why you
> think such a thing.  I don't think it is possible.
>
> You seem to believe that there is some magic set of command line options
> that will duplicate the various -O flags.  There isn't.
>
> There are lots of places in the compiler with things like
>
> if (optimize > 0)
> {
>  ... do some optimization ...
> }
I think that -O1 is an alias for a list of optimization parametr as
reported in gcc manual, so if I want to anable only one parameter at
time I think that I need to enable -O1 (that enable that set of
optimization) and explicitly disable all parameters that I don't want,
leaving only optimization parameter that I want.

thanks


-- 
Pro pace mundi adversus meganoides tertio Daitarn pugnabo.
Nisi times hanc vim, pugna!

Massimiliano Cialdi
cialdi@xxxxxxxxx
massimiliano.cialdi@xxxxxxxxxxxx

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux