https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this will be fixed with -momit-leaf-frame-pointer patch at : https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624752.html