diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a626e81c6b36..1da64c9c90d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-05-16 Kaveh R. Ghazi + * m68k.c (m68k_output_function_epilogue): Fix format specifier + warnings. + * stormy16-protos.h (xs_hi_general_operand, xs_hi_nonmemory_operand): Prototype. * stormy16.c (xstormy16_output_shift): Fix format specifier diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 5e14b29614a1..c85bc81e96a7 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -1042,12 +1042,14 @@ m68k_output_function_epilogue (stream, size) else { #ifdef MOTOROLA - fprintf (stream, "\tfpmovd -%d(%s), %s\n", + fprintf (stream, "\tfpmovd -"HOST_WIDE_INT_PRINT_DEC + "(%s), %s\n", fpoffset + fsize, reg_names[FRAME_POINTER_REGNUM], reg_names[regno]); #else - fprintf (stream, "\tfpmoved %s@(-%d), %s\n", + fprintf (stream, "\tfpmoved %s@(-"HOST_WIDE_INT_PRINT_DEC + "), %s\n", reg_names[FRAME_POINTER_REGNUM], fpoffset + fsize, reg_names[regno]); #endif