pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands when generating PIC code.

* pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands
	when generating PIC code.

From-SVN: r82474
This commit is contained in:
John David Anglin 2004-05-31 02:07:40 +00:00 committed by John David Anglin
parent d1eea9c043
commit 97509a89b1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-05-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands
when generating PIC code.
2004-05-30 Andrew Pinski <pinskia@physics.uc.edu>
* c-decl.c (c_expand_body_1): Remove and fold back into ...

View File

@ -1929,6 +1929,7 @@ emit_move_sequence (rtx *operands, enum machine_mode mode, rtx scratch_reg)
operands[1] = force_const_mem (mode, operand1);
operands[1] = legitimize_pic_address (XEXP (operands[1], 0),
mode, temp);
operands[1] = gen_rtx_MEM (mode, operands[1]);
emit_move_sequence (operands, mode, temp);
}
else