summaryrefslogtreecommitdiffstats
path: root/gcc/config/h8300/h8300.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/h8300/h8300.c')
-rw-r--r--gcc/config/h8300/h8300.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 9fd2c3218fe..b03f6f852ad 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -1190,7 +1190,6 @@ print_operand (file, x, code)
fprintf (file, "%s", names_upper_extended[REGNO (x)]);
break;
case MEM:
- x = adj_offsettable_operand (x, 0);
print_operand (file, x, 0);
break;
case CONST_INT:
@@ -1220,7 +1219,7 @@ print_operand (file, x, code)
fprintf (file, "%s", names_big[REGNO (x)]);
break;
case MEM:
- x = adj_offsettable_operand (x, 2);
+ x = adjust_address (x, HImode, 2);
print_operand (file, x, 0);
break;
case CONST_INT:
OpenPOWER on IntegriCloud