[PATCH] Fix minor fallout from operand_address changes
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2015 21:11:07 +0000 (21:11 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2015 21:11:07 +0000 (21:11 +0000)
2015-11-10  Jeff Law  <law@redhat.com>

* config/ft32/ft32.c (ft32_print_operand): Supply mode to
call to output_address.
* config/moxie/moxie.c (moxie_print_operand_address): Similarly.
Add unnamed machine_mode argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230130 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ft32/ft32.c
gcc/config/moxie/moxie.c

index 2c966e7..84481ef 100644 (file)
@@ -1,3 +1,10 @@
+2015-11-10  Jeff Law  <law@redhat.com>
+
+       * config/ft32/ft32.c (ft32_print_operand): Supply mode to
+       call to output_address.
+       * config/moxie/moxie.c (moxie_print_operand_address): Similarly.
+       Add unnamed machine_mode argument.
+
 2015-11-10  Michael Meissner  <meissner@linux.vnet.ibm.com>
 
        * config.gcc (powerpc*-*-*, rs6000*-*-*): Add power9 to hosts that
index 85e5ba3..ab62061 100644 (file)
@@ -238,7 +238,7 @@ ft32_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:
index a45b825..756e2f7 100644 (file)
@@ -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: