Commit 20dca97b by Bob Wilson Committed by Bob Wilson

xtensa.c (xtensa_expand_nonlocal_goto): Use validate_replace_rtx instead of replace_rtx.

        * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use
        validate_replace_rtx instead of replace_rtx.
        (xtensa_expand_prologue): Call df_insn_rescan after replace_rtx.

From-SVN: r125697
parent 76f5e200
2007-06-14 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use
validate_replace_rtx instead of replace_rtx.
(xtensa_expand_prologue): Call df_insn_rescan after replace_rtx.
2007-06-14 Danny Smith <dannysmith@users.sourceforge.net> 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
* config/i386/cygming.h (DWARF_FRAME_REGNUM): Define. * config/i386/cygming.h (DWARF_FRAME_REGNUM): Define.
......
...@@ -1180,9 +1180,8 @@ xtensa_expand_nonlocal_goto (rtx *operands) ...@@ -1180,9 +1180,8 @@ xtensa_expand_nonlocal_goto (rtx *operands)
if (GET_CODE (containing_fp) != REG) if (GET_CODE (containing_fp) != REG)
containing_fp = force_reg (Pmode, containing_fp); containing_fp = force_reg (Pmode, containing_fp);
goto_handler = replace_rtx (copy_rtx (goto_handler), goto_handler = copy_rtx (goto_handler);
virtual_stack_vars_rtx, validate_replace_rtx (virtual_stack_vars_rtx, containing_fp, goto_handler);
containing_fp);
emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__xtensa_nonlocal_goto"), emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__xtensa_nonlocal_goto"),
0, VOIDmode, 2, 0, VOIDmode, 2,
...@@ -2078,9 +2077,12 @@ xtensa_expand_prologue (void) ...@@ -2078,9 +2077,12 @@ xtensa_expand_prologue (void)
insn = NEXT_INSN (insn)) insn = NEXT_INSN (insn))
{ {
if (INSN_P (insn)) if (INSN_P (insn))
PATTERN (insn) = replace_rtx (copy_rtx (PATTERN (insn)), {
hard_frame_pointer_rtx, PATTERN (insn) = replace_rtx (copy_rtx (PATTERN (insn)),
stack_pointer_rtx); hard_frame_pointer_rtx,
stack_pointer_rtx);
df_insn_rescan (insn);
}
} }
} }
else else
......
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