]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: Always update EH return address in word_mode
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2018 19:14:04 +0000 (19:14 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2018 19:14:04 +0000 (19:14 +0000)
commit2a8e2ab2e9e11b679616d80285296ac77ad0920f
tree12a726c186f64d38dff8136282b9a6ecf9908d37
parentaca107a7141239b9d0d18b260fee5c387901e130
x86: Always update EH return address in word_mode

On x86, return address is always popped in word_mode.  eh_return needs
to put EH return address in word_mode on stack.

gcc/

PR target/87014
* config/i386/i386.md (eh_return): Always update EH return
address in word_mode.

gcc/testsuite/

PR target/87014
* g++.dg/torture/pr87014.C: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263672 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr87014.C [new file with mode: 0644]