2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
+ format specifier warnings.
+
* ip2k.c (function_prologue, function_epilogue, print_operand):
Fix format specifier warnings.
* ip2k.md: Likewise.
switch (GET_CODE (index))
{
case CONST_INT:
- fprintf (stream, "(%s,%d)", reg_names[REGNO(base)],
- INTVAL (index));
+ fprintf (stream, "(%s," HOST_WIDE_INT_PRINT_DEC ")",
+ reg_names[REGNO(base)], INTVAL (index));
break;
default:
fprintf (asm_out_file, "%d", exact_log2 (~INTVAL (x)));
break;
case 'O':
- fprintf (asm_out_file, "%d", INTVAL (x));
+ fprintf (asm_out_file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
break;
case 'M':
- fprintf (asm_out_file, "%d", - INTVAL (x));
+ fprintf (asm_out_file, HOST_WIDE_INT_PRINT_DEC, - INTVAL (x));
break;
case 'R':
/* Next location along in memory or register. */
reg_names[REGNO (x) + 3]);
break;
case 'x':
- fprintf (asm_out_file, "0x%x", INTVAL (x));
+ fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX, INTVAL (x));
break;
case 'X':
- fprintf (asm_out_file, "%d", 3 - INTVAL (x) / 8);
+ fprintf (asm_out_file, HOST_WIDE_INT_PRINT_DEC, 3 - INTVAL (x) / 8);
break;
default: