From c8f4b20ff1a3827253c36dd94d68f0c75ff1d902 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 16 May 2003 18:25:39 +0000 Subject: [PATCH] m68k.c (m68k_output_function_epilogue): Fix format specifier warnings. * m68k.c (m68k_output_function_epilogue): Fix format specifier warnings. From-SVN: r66874 --- gcc/ChangeLog | 3 +++ gcc/config/m68k/m68k.c | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a626e81c6b3..1da64c9c90d 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 5e14b29614a..c85bc81e96a 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