]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/spu/spu.c
Machine modes for address printing.
[thirdparty/gcc.git] / gcc / config / spu / spu.c
index fa6dbef12331cbe67266c2b6a8bfb23f41ac797c..31502fb67b4b9219589fb42a2a542e40d68a9825 100644 (file)
@@ -1339,7 +1339,7 @@ print_operand (FILE * file, rtx x, int code)
            /* Used in indirect function calls. */
            fprintf (file, "%s", reg_names[REGNO (XEXP (x, 0))]);
          else
-           output_address (XEXP (x, 0));
+           output_address (GET_MODE (x), XEXP (x, 0));
        }
       return;
 
@@ -1432,7 +1432,7 @@ print_operand (FILE * file, rtx x, int code)
       if (xcode == REG)
        fprintf (file, "%s", reg_names[REGNO (x)]);
       else if (xcode == MEM)
-       output_address (XEXP (x, 0));
+       output_address (GET_MODE (x), XEXP (x, 0));
       else if (xcode == CONST_VECTOR)
        print_operand (file, CONST_VECTOR_ELT (x, 0), 0);
       else