This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimisation options turned on at a certain level


jgrant@reflectionsinteractive.com writes:

> I'm trying to find where in the gcc documentation the list of optimisations
> that are implied by specifying -O3 and -Os with my gcc3.2 install.  I could
> not find anything yet other than the following:
> 
>   -O[number]              Set optimisation level to [number]
>   -Os                     Optimise for space rather than speed
> 
> from gcc -v --help
> 
> Could someone direct me to where I should be looking for this list of
> optimisations that are turned on with the different levels please?

See the manual under ``Options That Control Optimization,'' or look
here (this is the 3.2.3 manual):

http://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/Optimize-Options.html#Optimize%20Options

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]