re PR target/67770 (i386: -fshrink-wrap can interact badly with trampolines)
authorJakub Jelinek <jakub@redhat.com>
Thu, 19 Nov 2015 08:30:19 +0000 (09:30 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 19 Nov 2015 08:30:19 +0000 (09:30 +0100)
commit397d0df98c972375682078d74e90eaf4f09c3748
treee5c89f28712764e4fd88032f4e00896a1d80e584
parent46ce03de3afe6dcd7b23572ada199c28ffc10e70
re PR target/67770 (i386: -fshrink-wrap can interact badly with trampolines)

PR target/67770
* config/i386/i386.md (simple_return): Disable if
ix86_static_chain_on_stack is true.

* gcc.target/i386/pr67770.c: New test.

From-SVN: r230593
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr67770.c [new file with mode: 0644]