This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix typo in pa.c introduced in last change
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 4 Sep 2005 11:01:07 -0400 (EDT)
- Subject: [committed] Fix typo in pa.c introduced in last change
This patch fixes a bootstrap ICE encountered on hppa64-hp-hpux11.11.
It was caused by a typo in the last change.
Committed to trunk. Tested on hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
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.
Index: config/pa/pa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pa/pa.c,v
retrieving revision 1.306
diff -u -3 -p -r1.306 pa.c
--- config/pa/pa.c 3 Sep 2005 14:33:06 -0000 1.306
+++ config/pa/pa.c 4 Sep 2005 02:42:52 -0000
@@ -1757,7 +1757,7 @@ emit_move_sequence (rtx *operands, enum
&& 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);