arm.c (arm_output_epilogue): When using a frame pointer...
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 28 Oct 2003 09:47:45 +0000 (09:47 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 28 Oct 2003 09:47:45 +0000 (09:47 +0000)
commit699a49253d97f38233c87f86030915eea94d3c49
treebe6a3846aefab2d821be31d2841191f89592989d
parent578e81709125628d0e641343de40e5f48b394f65
arm.c (arm_output_epilogue): When using a frame pointer...

* arm.c (arm_output_epilogue): When using a frame pointer, don't emit
an extra stack adjustment insn if the stack pointer is already
pointing at the right place.
(use_return_insn): Allow a return insn to be used when we have a
frame pointer if the stack pointer is in the right place.
(output_return_instruction): Handle it.

From-SVN: r73003
gcc/ChangeLog
gcc/config/arm/arm.c