From 0b80ea44fd6e32bcdfabd17e77d25abb350971c1 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 28 Apr 1993 22:05:48 -0600 Subject: [PATCH] pa.c (emit_move_sequence): After legitimizing a PIC address make sure to copy it from the temporary... * pa.c (emit_move_sequence): After legitimizing a PIC address make sure to copy it from the temporary register into the final destination. From-SVN: r4269 --- gcc/config/pa/pa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 7e01981361a..a05890e5d2c 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -791,6 +791,7 @@ emit_move_sequence (operands, mode, scratch_reg) { rtx temp = reload_in_progress ? operand0 : gen_reg_rtx (Pmode); operands[1] = legitimize_pic_address (operand1, mode, temp); + emit_insn (gen_rtx (SET, VOIDmode, operand0, operands[1])); } /* On the HPPA, references to data space are supposed to */ /* use dp, register 27, but showing it in the RTL inhibits various -- 2.30.2