Optimisation options turned on at a certain level
Ian Lance Taylor
ian@wasabisystems.com
Sun Dec 21 18:36:00 GMT 2003
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
More information about the Gcc
mailing list