https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, generally -fomit-frame-pointer doesn't guarantee that the frame pointer is omitted: "Omit the frame pointer in functions that don't need one." Functions using VLAs/alloca or requiring dynamic stack realignment still do need it.