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