https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:47ea8616d4f5fee875e0849e393575e00def5894 commit r9-8517-g47ea8616d4f5fee875e0849e393575e00def5894 Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Apr 20 05:51:29 2020 -0700 x86: Restore the frame pointer in word_mode We must restore the frame pointer in word_mode for eh_return epilogues since the upper 32 bits of RBP register can have any values. Tested on Linux/x32 and Linux/x86-64. Backport from master PR target/94556 * config/i386/i386.c (ix86_expand_epilogue): Restore the frame pointer in word_mode for eh_return epilogues. (cherry picked from commit efc1f3577f38bb213b313661c025ac965baee953)