mn10300.c (print_operand_address): Do not add zero to SP.
authorAlexandre Oliva <aoliva@cygnus.com>
Mon, 1 May 2000 17:28:26 +0000 (17:28 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 1 May 2000 17:28:26 +0000 (17:28 +0000)
* config/mn10300/mn10300.c (print_operand_address): Do not add
zero to SP.

From-SVN: r33577

gcc/ChangeLog
gcc/config/mn10300/mn10300.c

index 77fdec3..4467777 100644 (file)
@@ -1,5 +1,8 @@
 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
 
+       * config/mn10300/mn10300.c (print_operand_address): Do not add
+       zero to SP.
+
        * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
        adjusted by less than 256 bytes, use ret regardless of having any
        callee-saved register to restore.
index e643505..ad93ac9 100644 (file)
@@ -328,12 +328,7 @@ print_operand_address (file, addr)
       fputc ('+', file);
       break;
     case REG:
-      if (addr == stack_pointer_rtx)
-       print_operand_address (file, gen_rtx_PLUS (SImode,
-                                                  stack_pointer_rtx,
-                                                  GEN_INT (0)));
-      else
-       print_operand (file, addr, 0);
+      print_operand (file, addr, 0);
       break;
     case PLUS:
       {