Commit 1964788a by Kaz Kojima

sh.c: Revert last change.

	* config/sh/sh.c: Revert last change.
	(sh_expand_epilogue): Emit a blockage insn before the frame
	pointer adjustment unconditionally.

From-SVN: r148103
parent 8633c315
2009-06-02 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c: Revert last change.
(sh_expand_epilogue): Emit a blockage insn before the frame
pointer adjustment unconditionally.
2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com> 2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com>
* config/pa/pa-hpux.h (LINK_SPEC): Remove "%<fwhole-program". * config/pa/pa-hpux.h (LINK_SPEC): Remove "%<fwhole-program".
......
...@@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see ...@@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see
#include "target.h" #include "target.h"
#include "target-def.h" #include "target-def.h"
#include "real.h" #include "real.h"
#include "debug.h"
#include "langhooks.h" #include "langhooks.h"
#include "basic-block.h" #include "basic-block.h"
#include "df.h" #include "df.h"
...@@ -6747,11 +6746,9 @@ sh_expand_epilogue (bool sibcall_p) ...@@ -6747,11 +6746,9 @@ sh_expand_epilogue (bool sibcall_p)
if (frame_pointer_needed) if (frame_pointer_needed)
{ {
/* We must avoid scheduling the epilogue with previous basic blocks /* We must avoid scheduling the epilogue with previous basic blocks.
when exception handling or frame information is needed.
See PR/18032 and PR/40313. */ See PR/18032 and PR/40313. */
if (flag_exceptions || dwarf2out_do_frame ()) emit_insn (gen_blockage ());
emit_insn (gen_blockage ());
output_stack_adjust (frame_size, hard_frame_pointer_rtx, e, output_stack_adjust (frame_size, hard_frame_pointer_rtx, e,
&live_regs_mask); &live_regs_mask);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment