[Bug target/80968] stack frame reference allowed in delay slot of return instruction
davem at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 6 18:57:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80968
--- Comment #5 from davem at gcc dot gnu.org ---
Author: davem
Date: Tue Jun 6 18:54:55 2017
New Revision: 248931
URL: https://gcc.gnu.org/viewcvs?rev=248931&root=gcc&view=rev
Log:
sparc: Fix stack references in return delay slot.
gcc/
PR target/80968
* config/sparc/sparc.c (sparc_expand_prologue): Emit frame
blockage if function uses alloca.
gcc/testsuite/
* gcc.target/sparc/sparc-ret-3.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/sparc/sparc-ret-3.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/sparc/sparc.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list