aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-04-28 22:05:48 -0600
committerJeff Law <law@gcc.gnu.org>1993-04-28 22:05:48 -0600
commit0b80ea44fd6e32bcdfabd17e77d25abb350971c1 (patch)
treee0cd49f9349da041301a65b7656a8bc11cfb3214 /gcc/config
parent8381cd4c6b23dd73b3a646fac1dd627783c26a28 (diff)
downloadgcc-0b80ea44fd6e32bcdfabd17e77d25abb350971c1.zip
gcc-0b80ea44fd6e32bcdfabd17e77d25abb350971c1.tar.gz
gcc-0b80ea44fd6e32bcdfabd17e77d25abb350971c1.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/pa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 7e01981..a05890e 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