On Tue, Sep 2, 2014 at 6:52 PM, Andi Kleen <a...@linux.intel.com> wrote: >> Or we simply should make -finline work at -O0 (I suppose it might already >> work?) and use it. > > Yes that's probably better. There are more hot inlines in the stage 1 profile > (like wi::storage_ref or vec::length) > I suspect with the ongoing C++'ification that will get worse.
Btw, it's C++ which I considered that -Og might replace -O0 exactly because of all the abstraction penalty which usually doesn't help debugging at -O0. Also the idea was that -Og might even compile faster than -O0, but that's far from true unfortunately ... Richard. > -Andi > > -- > a...@linux.intel.com -- Speaking for myself only