re PR target/47192 (m68k target - gcc uses stack frame after it has been unlinked...
authorJeff Law <law@redhat.com>
Thu, 17 Nov 2016 23:39:08 +0000 (16:39 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 17 Nov 2016 23:39:08 +0000 (16:39 -0700)
commitf2b6aad987ce2828f9b157a70bf76fada97a0a30
tree5ee1637c3650ad8d655da30909516bd875089fde
parente080b2818b12b856ed8bc6dd26edb89703a2ff0d
re PR target/47192 (m68k target - gcc uses stack frame after it has been unlinked when compiling with -Os)

PR target/47192
* config/m68k/m68k.c (m68k_expand_epilogue): Emit a scheduling
barrier prior to deallocating the stack.

PR target/47192
* gcc.target/m68k/pr47192.c: New test.

From-SVN: r242575
gcc/ChangeLog
gcc/config/m68k/m68k.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/m68k/pr47192.c [new file with mode: 0644]