From 3c7243a1cf5fcaa92c80dd5d528fea1190cc62fb Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 27 Apr 1993 10:21:12 -0600 Subject: [PATCH] pa.c (hppa_expand_epilogue): Emit a "blockage" insn to keepthe stack and frame pointer adjustments at the... * pa.c (hppa_expand_epilogue): Emit a "blockage" insn to keepthe stack and frame pointer adjustments at the end of the epilogue. From-SVN: r4248 --- gcc/config/pa/pa.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 1ee230a4e61..7e01981361a 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -2098,6 +2098,10 @@ hppa_expand_epilogue() ??? What race condition?!? */ else if (frame_pointer_needed) { + /* Emit a blockage insn here to keep these insns from being moved + to the beginning of the prologue or into the main instruction + stream, doing so avoids some very obscure problems. */ + emit_insn (gen_blockage ()); set_reg_plus_d (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM, 64); emit_insn (gen_pre_ldwm (stack_pointer_rtx, stack_pointer_rtx, GEN_INT (-64), frame_pointer_rtx)); -- 2.30.2