> > This means O3 level inlining should be turned on also for lto build by
> > default -- as -O2 lto performance is too unimpressive.
> 
> I am just re-tunning the inliner and hope to get more speedups for smaller
> costs than we get right now.  I however don't think we can resonably enable it
> as it is at LTO with -O2. We sort of declare that -O2 is the level where
> compiler optimize hard without bloating code size. Automatic inlining bloats a
> lot.  Enabling it at -O2 will make developers who care about code size 
> unhappy.
> 
> Can you, please, try -O2 -fwhole-program, too?

Also for my code size work, it would be great if you tracked also sizes of the
stripped binaries in your tests ;)

Honza

Reply via email to