aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/moxie/moxie.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/moxie/moxie.c')
-rw-r--r--gcc/config/moxie/moxie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c
index a45b825ced0..756e2f74e2d 100644
--- a/gcc/config/moxie/moxie.c
+++ b/gcc/config/moxie/moxie.c
@@ -106,7 +106,7 @@ moxie_operand_lossage (const char *msgid, rtx op)
/* The PRINT_OPERAND_ADDRESS worker. */
static void
-moxie_print_operand_address (FILE *file, rtx x)
+moxie_print_operand_address (FILE *file, machine_mode, rtx x)
{
switch (GET_CODE (x))
{
@@ -183,7 +183,7 @@ moxie_print_operand (FILE *file, rtx x, int code)
return;
case MEM:
- output_address (XEXP (operand, 0));
+ output_address (GET_MODE (XEXP (operand, 0)), XEXP (operand, 0));
return;
default: