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
This commit is contained in:
Jeff Law 1993-04-28 22:05:48 -06:00
parent 8381cd4c6b
commit 0b80ea44fd
1 changed files with 1 additions and 0 deletions

View File

@ -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