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: [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


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