https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:472c004fcd13e429dad7d1b829d21e26d24e39a4 commit r8-10192-g472c004fcd13e429dad7d1b829d21e26d24e39a4 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)