This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimisation options turned on at a certain level
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: jgrant at reflectionsinteractive dot com
- Cc: gcc at gcc dot gnu dot org
- Date: 21 Dec 2003 09:47:07 -0500
- Subject: Re: Optimisation options turned on at a certain level
- References: <A91F89184D69D411A4E40008C784F4970243FB05@MR-T>
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