]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
authorDavid Edelsohn <edelsohn@gnu.org>
Mon, 28 Jun 1999 03:17:17 +0000 (03:17 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 28 Jun 1999 03:17:17 +0000 (21:17 -0600)
From-SVN: r27799

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index f864879901e898408870e9b7d41c97204ff98ca8..40178099aa78cc7e58ab63efe7d654c61b97e713 100644 (file)
@@ -1,5 +1,7 @@
 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
 
+       * 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  <rth@cygnus.com>
index 7e6f6090a421c42027f2d61f0272d2c2c17b985c..3c2ca8fd7cb7bff6b824a2c76e0bc63fa452aac8 100644 (file)
@@ -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]);