This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47192] m68k target - gcc uses stack frame after it has been unlinked when compiling with -Os
- From: "law at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Nov 2016 23:39:40 +0000
- Subject: [Bug target/47192] m68k target - gcc uses stack frame after it has been unlinked when compiling with -Os
- Auto-submitted: auto-generated
- References: <bug-47192-4@http.gcc.gnu.org/bugzilla/>
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