From: Richard Kenner Date: Fri, 16 Nov 2001 20:30:19 +0000 (+0000) Subject: pa.c: Reflect changes in calling sequences of alter_reg and emit_cmp_insn. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=847898f6f563031bad4d5b3f3587146f5549627c;p=gcc.git pa.c: Reflect changes in calling sequences of alter_reg and emit_cmp_insn. * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and emit_cmp_insn. From-SVN: r47101 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d74ad1b144..070d606c856 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 16 15:22:35 2001 Richard Kenner + + * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and + emit_cmp_insn. + 2001-11-16 Andreas Jaeger * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 010dfd25543..617071e18d5 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -1209,7 +1209,7 @@ emit_move_sequence (operands, mode, scratch_reg) rtx temp = gen_rtx_SUBREG (GET_MODE (operand0), reg_equiv_mem [REGNO (SUBREG_REG (operand0))], SUBREG_BYTE (operand0)); - operand0 = alter_subreg (temp); + operand0 = alter_subreg (&temp); } if (scratch_reg @@ -1226,7 +1226,7 @@ emit_move_sequence (operands, mode, scratch_reg) rtx temp = gen_rtx_SUBREG (GET_MODE (operand1), reg_equiv_mem [REGNO (SUBREG_REG (operand1))], SUBREG_BYTE (operand1)); - operand1 = alter_subreg (temp); + operand1 = alter_subreg (&temp); } if (scratch_reg && reload_in_progress && GET_CODE (operand0) == MEM @@ -3551,24 +3551,20 @@ return_addr_rtx (count, frameaddr) If it is an export stub, than our return address is really in -24[frameaddr]. */ - emit_cmp_insn (gen_rtx_MEM (SImode, ins), - GEN_INT (0x4bc23fd1), - NE, NULL_RTX, SImode, 1, 0); + emit_cmp_insn (gen_rtx_MEM (SImode, ins), GEN_INT (0x4bc23fd1), NE, + NULL_RTX, SImode, 1); emit_jump_insn (gen_bne (label)); emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 4)), - GEN_INT (0x004010a1), - NE, NULL_RTX, SImode, 1, 0); + GEN_INT (0x004010a1), NE, NULL_RTX, SImode, 1); emit_jump_insn (gen_bne (label)); emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 8)), - GEN_INT (0x00011820), - NE, NULL_RTX, SImode, 1, 0); + GEN_INT (0x00011820), NE, NULL_RTX, SImode, 1); emit_jump_insn (gen_bne (label)); emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 12)), - GEN_INT (0xe0400002), - NE, NULL_RTX, SImode, 1, 0); + GEN_INT (0xe0400002), NE, NULL_RTX, SImode, 1); /* If there is no export stub then just use the value saved from the return pointer register. */