[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 19 10:38:01 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r8-2488-g8e941ae950ddce17

i386: Don't use frame pointer without stack access

When there is no stack access, there is no need to use frame pointer
even if -fno-omit-frame-pointer is used and caller's frame pointer is
unchanged.

which seems as a reasonable explanation to not emit stack pointer?


More information about the Gcc-bugs mailing list