On Wed, Aug 9, 2017 at 8:26 AM, Andi Kleen <a...@firstfloor.org> wrote: >> This must be much more specific. How does it impact: >> >> 1. LTO >> 2. Function inlining. >> 3. Partial function inlining. >> 4. Shrink-wrapping. >> >> Any of them can impact function stack frame. > > It doesn't. It's just to get back to the previous state. > > Also these others already have explicit options to disable them. >
How about item -fkeep-frame-pointer @opindex fkeep-frame-pointer Keep the frame pointer in a register for functions. This option always forces a new stack frame for all functions regardless of whether @option{-fomit-frame-pointer} is enabled or not. Disabled by default. -- H.J.