* rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
authorDavid Edelsohn <edelsohn@gnu.org>
Sat, 26 Jun 1999 14:19:55 +0000 (14:19 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 26 Jun 1999 14:19:55 +0000 (10:19 -0400)
From-SVN: r27779

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

index 28d6cbccacac640c1cf369dc4260f9847cd83a5f..3261f65daf54a44d03eb834f124c6c3a7c5d5db0 100644 (file)
@@ -1,3 +1,7 @@
+Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
+
 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
 
        * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
index ee3c2f761a0b5011dcb259538f84b286b0e1c87d..c49fd0735a2189f13fef475004e43eaa797ca5b6 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]);