Re: [PATCH] x86: Restore the frame pointer in word_mode

2020-04-13 Thread Uros Bizjak via Gcc-patches
On Sun, Apr 12, 2020 at 11:28 PM H.J. Lu wrote: > > 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. OK for master and backport to > GCC 8/9 branches? > > Thanks. > > H.J

[PATCH] x86: Restore the frame pointer in word_mode

2020-04-12 Thread H.J. Lu via Gcc-patches
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. OK for master and backport to GCC 8/9 branches? Thanks. H.J. --- PR target/94556 * config/i386/i386.c (ix86_e