2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * arc.c (arc_output_function_prologue,
+ arc_output_function_epilogue): Fix format specifier warnings.
+ * arc.h (LARGE_INT): Fix signed/unsigned warnings.
+
* v850.c (print_operand): Fix format specifier warnings.
* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
/* Allocate the stack frame. */
if (size - current_frame_info.pretend_size > 0)
- fprintf (file, "\tsub %s,%s,%d\n",
+ fprintf (file, "\tsub %s,%s," HOST_WIDE_INT_PRINT_DEC "\n",
sp_str, sp_str, size - current_frame_info.pretend_size);
/* Save any needed call-saved regs (and call-used if this is an
{
if (!SMALL_INT (size - restored))
abort ();
- fprintf (file, "\tadd %s,%s,%d\n",
+ fprintf (file, "\tadd %s,%s," HOST_WIDE_INT_PRINT_DEC "\n",
sp_str, sp_str, size - restored);
}
else
/* local to this file */
#define LARGE_INT(X) \
((X) >= (-(HOST_WIDE_INT) 0x7fffffff - 1) \
- && (X) <= (unsigned HOST_WIDE_INT) 0xffffffff)
+ && (unsigned HOST_WIDE_INT)(X) <= (unsigned HOST_WIDE_INT) 0xffffffff)
#define CONST_OK_FOR_LETTER_P(VALUE, C) \
((C) == 'I' ? SMALL_INT (VALUE) \