On Mai 18 2020, Florian Weimer via Gcc-patches wrote: > * Michael Matz: > >>> So does -fcf-protection. -fno-omit-frame-pointer does not work for me at >>> all for some reason, the frame pointer is always missing? >> >> Not for me: > > I see. I didn't know that -fno-omit-frame-pointer only applies to > non-leaf functions. For them, the behavior I see matches yours.
There is also -momit-leaf-frame-pointer. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."