h8300.c (print_operand_address): Do not negate a negative number when printing one.
* config/h8300/h8300.c (print_operand_address): Do not negate a negative number when printing one. From-SVN: r60501
This commit is contained in:
parent
7d6ac401b6
commit
7a770d8b10
@ -1,3 +1,8 @@
|
||||
2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/h8300.c (print_operand_address): Do not negate
|
||||
a negative number when printing one.
|
||||
|
||||
2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/h8300-protos.h: Add prototypes for
|
||||
|
@ -1654,11 +1654,7 @@ print_operand_address (file, addr)
|
||||
int n = INTVAL (addr);
|
||||
if (TARGET_H8300)
|
||||
n = (int) (short) n;
|
||||
if (n < 0)
|
||||
/* ??? Why the special case for -ve values? */
|
||||
fprintf (file, "-%d", -n);
|
||||
else
|
||||
fprintf (file, "%d", n);
|
||||
fprintf (file, "%d", n);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user