From: David Edelsohn Date: Mon, 28 Jun 1999 03:17:17 +0000 (+0000) Subject: * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output. X-Git-Tag: prereleases/gcc-2.95-test~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58b5ca01ec3cf18990dba12c2314b4ff0a1f9c61;p=thirdparty%2Fgcc.git * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output. From-SVN: r27799 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f864879901e8..40178099aa78 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Mon Jun 28 04:07:27 1999 David Edelsohn + * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output. + * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note. Fri Jun 25 06:06:37 1999 Richard Henderson diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 7e6f6090a421..3c2ca8fd7cb7 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2693,10 +2693,11 @@ print_operand (file, x, code) we have already done it, we can just use an offset of word. */ if (GET_CODE (XEXP (x, 0)) == PRE_INC || GET_CODE (XEXP (x, 0)) == PRE_DEC) - output_address (plus_constant (XEXP (XEXP (x, 0), 0), - UNITS_PER_WORD)); + output_address (plus_constant_for_output (XEXP (XEXP (x, 0), 0), + UNITS_PER_WORD)); else - output_address (plus_constant (XEXP (x, 0), UNITS_PER_WORD)); + output_address (plus_constant_for_output (XEXP (x, 0), + UNITS_PER_WORD)); if (small_data_operand (x, GET_MODE (x))) fprintf (file, "@%s(%s)", SMALL_DATA_RELOC, reg_names[SMALL_DATA_REG]);