* arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
* arm.c (arm_output_function_prologue): Fix format specifiers.
* arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
* m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
HOST_WIDE_INT_PRINT_DEC.
* vax.c (vax_output_function_prologue): Fix format specifiers.
From-SVN: r67464
+2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
+ * arm.c (arm_output_function_prologue): Fix format specifiers.
+ * arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
+ * m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
+ HOST_WIDE_INT_PRINT_DEC.
+ * vax.c (vax_output_function_prologue): Fix format specifiers.
+
2003-06-04 Richard Henderson <rth@redhat.com>
* cse.c (find_best_addr): Consider binary operators even if second
/* Output a gap. In fact we fill it with nulls. */
#undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(STREAM, NBYTES) \
- fprintf (STREAM, "\t.space\t%d\n", (int)NBYTES)
+ fprintf (STREAM, "\t.space\t%d\n", (int)(NBYTES))
/* Align output to a power of two. Horrible /bin/as. */
#ifndef ASM_OUTPUT_ALIGN
if (IS_NESTED (func_type))
asm_fprintf (f, "\t%@ Nested: function declared inside another function.\n");
- asm_fprintf (f, "\t%@ args = %d, pretend = %d, frame = %d\n",
+ asm_fprintf (f, "\t%@ args = %d, pretend = %d, frame = %wd\n",
current_function_args_size,
current_function_pretend_args_size, frame_size);
offset = INTVAL (index); \
if (is_minus) \
offset = -offset; \
- asm_fprintf (STREAM, "[%r, #%d]", \
+ asm_fprintf (STREAM, "[%r, #%wd]", \
REGNO (base), offset); \
break; \
\
{ \
asm_fprintf (STREAM, "[%r, ", REGNO (XEXP (X, 0))); \
if (GET_CODE (XEXP (XEXP (X, 1), 1)) == CONST_INT) \
- asm_fprintf (STREAM, "#%d]!", \
+ asm_fprintf (STREAM, "#%wd]!", \
INTVAL (XEXP (XEXP (X, 1), 1))); \
else \
asm_fprintf (STREAM, "%r]!", \
{ \
asm_fprintf (STREAM, "[%r], ", REGNO (XEXP (X, 0))); \
if (GET_CODE (XEXP (XEXP (X, 1), 1)) == CONST_INT) \
- asm_fprintf (STREAM, "#%d", \
+ asm_fprintf (STREAM, "#%wd", \
INTVAL (XEXP (XEXP (X, 1), 1))); \
else \
asm_fprintf (STREAM, "%r", \
else if (delta < 0 && delta >= -8)
asm_fprintf (file, "\tsubq.l %I%d,4(%Rsp)\n", (int) -delta);
else
- asm_fprintf (file, "\tadd.l %I" HOST_WIDE_INT_PRINT_DEC ",4(%Rsp)\n",
- delta);
+ asm_fprintf (file, "\tadd.l %I%wd,4(%Rsp)\n", delta);
xops[0] = DECL_RTL (function);
size -= STARTING_FRAME_OFFSET;
if (size >= 64)
- asm_fprintf (file, "\tmovab %d(%Rsp),%Rsp\n", -size);
+ asm_fprintf (file, "\tmovab %wd(%Rsp),%Rsp\n", -size);
else if (size)
- asm_fprintf (file, "\tsubl2 $%d,%Rsp\n", size);
+ asm_fprintf (file, "\tsubl2 $%wd,%Rsp\n", size);
}
/* This is like nonimmediate_operand with a restriction on the type of MEM. */