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:
parent
8381cd4c6b
commit
0b80ea44fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue