From 4109fd6dc95954c0b5e66fc1b78c3940b6a606a7 Mon Sep 17 00:00:00 2001 From: danglin Date: Sun, 4 Sep 2005 14:51:58 +0000 Subject: [PATCH] PR target/23721 * pa.c (emit_move_sequence): Fix typo in last change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103831 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8bbb5ba..dc64952 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-09-04 John David Anglin + + PR target/23721 + * pa.c (emit_move_sequence): Fix typo in last change. + 2005-09-03 Jakub Jelinek PR rtl-optimization/23454 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 35c7d50..8828258 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -1757,7 +1757,7 @@ emit_move_sequence (rtx *operands, enum machine_mode mode, rtx scratch_reg) && flag_pic) { rtx const_mem = force_const_mem (mode, operand1); - operands[1] = legitimize_pic_address (XEXP (operands[1], 0), + operands[1] = legitimize_pic_address (XEXP (const_mem, 0), mode, temp); operands[1] = replace_equiv_address (const_mem, operands[1]); emit_move_sequence (operands, mode, temp); -- 2.7.4