From: Jan Hubicka Date: Thu, 5 Apr 2001 17:01:48 +0000 (+0200) Subject: * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b47b4f214f446de3d8e15c6fe0a31d9dac998777;p=gcc.git * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address. From-SVN: r41121 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 359435cc980..58d694b6220 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 5 19:00:15 CEST 2001 Jan Hubicka + + * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address. + Thu Apr 5 18:25:56 CEST 2001 Jan Hubicka * i386.c (function_arg): Return constm1_rtx for last argument. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 7d08309bd4f..0c79e70e6e7 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -6897,7 +6897,10 @@ ix86_split_long_move (operands) && CONSTANT_POOL_ADDRESS_P (XEXP (operands[1], 0))) operands[1] = get_pool_constant (XEXP (operands[1], 0)); if (push_operand (operands[0], VOIDmode)) - operands[0] = change_address (operands[0], DImode, XEXP (operands[0], 0)); + { + operands[0] = copy_rtx (operands[0]); + PUT_MODE (operands[0], Pmode); + } else operands[0] = gen_lowpart (DImode, operands[0]); operands[1] = gen_lowpart (DImode, operands[1]);