aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa.c2
2 files changed, 6 insertions, 1 deletions
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 <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR target/23721
+ * pa.c (emit_move_sequence): Fix typo in last change.
+
2005-09-03 Jakub Jelinek <jakub@redhat.com>
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);