From: John David Anglin Date: Mon, 31 May 2004 02:07:40 +0000 (+0000) Subject: pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands when generating... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97509a89b1c27446c4ac98d0756f6a587d3ebbf5;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c8627a283b..a76fd14d810 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-05-30 John David Anglin + + * pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands + when generating PIC code. + 2004-05-30 Andrew Pinski * c-decl.c (c_expand_body_1): Remove and fold back into ... diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 0cc1ed7eb99..d543f31b507 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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