[Bug target/47192] m68k target - gcc uses stack frame after it has been unlinked when compiling with -Os
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 17 23:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47192
--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Thu Nov 17 23:39:08 2016
New Revision: 242575
URL: https://gcc.gnu.org/viewcvs?rev=242575&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.target/m68k/pr47192.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/m68k/m68k.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list