This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Enabling loop unrolls at -O3?
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: dewar at adacore dot com (Robert Dewar)
- Cc: ebotcazou at adacore dot com (Eric Botcazou), gcc at gcc dot gnu dot org, rasky at develer dot com (Giovanni Bajo)
- Date: Sat, 5 Nov 2005 13:34:15 -0500 (EST)
- Subject: Re: [RFC] Enabling loop unrolls at -O3?
>
> Eric Botcazou wrote:
> >>Why O3 rather than O2, I thought O3 was just O2 + implicit inlining
>
> > In the old days only, i.e. that has not been true since 3.1 at least.
>
> OK, so perhaps we should routinely recommend -O3 -fno-inline (I trust
> that turns off only the automatic inlining, and not the explicit
> inlining?)
-O3 -fno-inline-functions is what you want. That turns off the automatic
inlining.
-- Pinski