mn10300.c (print_operand_address): Do not add zero to SP.

* config/mn10300/mn10300.c (print_operand_address): Do not add
zero to SP.

From-SVN: r33577
This commit is contained in:
Alexandre Oliva 2000-05-01 17:28:26 +00:00 committed by Alexandre Oliva
parent c30b633064
commit 79e4122c87
2 changed files with 4 additions and 6 deletions

View 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.

View 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:
{