aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2005-09-04 14:51:58 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2005-09-04 14:51:58 +0000
commit1c9ef36d01436421d7f70b19bb1c3724e4226bd7 (patch)
tree6f9a6a72a209df2fa4d62bfa97f5186c6ea901cc /gcc/config
parent01cd3b3a1940b08b1ba9d22d48109ad70a08ffcb (diff)
downloadgcc-1c9ef36d01436421d7f70b19bb1c3724e4226bd7.zip
gcc-1c9ef36d01436421d7f70b19bb1c3724e4226bd7.tar.gz
gcc-1c9ef36d01436421d7f70b19bb1c3724e4226bd7.tar.bz2
re PR target/23721 (pt.c:9462: ICE: in change_address_1, at emit-rtl.c:1791)
PR target/23721 * pa.c (emit_move_sequence): Fix typo in last change. From-SVN: r103831
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/pa.c2
1 files changed, 1 insertions, 1 deletions
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);