https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:efc1f3577f38bb213b313661c025ac965baee953 commit r10-7697-gefc1f3577f38bb213b313661c025ac965baee953 Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Apr 13 04:23:05 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. PR target/94556 * config/i386/i386.c (ix86_expand_epilogue): Restore the frame pointer in word_mode for eh_return epilogues.