https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
The documentation mentions that as well:
Note that -fno-omit-frame-pointer doesn't force a new stack
frame for all functions if it isn't otherwise needed, and hence doesn't
guarantee a new frame pointer for all functions.