frv.c (frv_print_operand_memory_reference): Fix format specifier warning.

* frv.c (frv_print_operand_memory_reference): Fix format specifier
	warning.
	(frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED.

From-SVN: r66875
This commit is contained in:
Kaveh R. Ghazi 2003-05-16 18:29:53 +00:00 committed by Kaveh Ghazi
parent c8f4b20ff1
commit 6f562bc641
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* frv.c (frv_print_operand_memory_reference): Fix format specifier
warning.
(frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED.
* m68k.c (m68k_output_function_epilogue): Fix format specifier
warnings.

View File

@ -2564,7 +2564,8 @@ frv_print_operand_memory_reference (stream, x, addr_offset)
{
fputs ("#gprel12(", stream);
assemble_name (stream, XSTR (XEXP (XEXP (x1, 0), 0), 0));
fprintf (stream, "+%d)", INTVAL (XEXP (XEXP (x1, 0), 1)));
fprintf (stream, "+"HOST_WIDE_INT_PRINT_DEC")",
INTVAL (XEXP (XEXP (x1, 0), 1)));
}
else
fatal_insn ("Bad insn to frv_print_operand_memory_reference:", x);
@ -9737,7 +9738,7 @@ frv_in_small_data_p (decl)
static bool
frv_rtx_costs (x, code, outer_code, total)
rtx x;
int code, outer_code;
int code, outer_code ATTRIBUTE_UNUSED;
int *total;
{
switch (code)