re PR target/54660 (iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree)

PR target/54660
	* config/iq2000/iq2000.c (iq2000_function_arg_advance): Suppress
	compile time warning about pointer printing.

From-SVN: r192717
This commit is contained in:
Nick Clifton 2012-10-23 15:02:47 +00:00 committed by Nick Clifton
parent b4e64afbc2
commit 2dc34a12e3
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-10-23 Nick Clifton <nickc@redhat.com>
PR target/54660
* config/iq2000/iq2000.c (iq2000_function_arg_advance): Suppress
compile time warning about pointer printing.
2012-10-23 Joseph Myers <joseph@codesourcery.com>
* config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |

View file

@ -1142,7 +1142,7 @@ iq2000_function_arg_advance (cumulative_args_t cum_v, enum machine_mode mode,
"function_adv({gp reg found = %d, arg # = %2d, words = %2d}, %4s, ",
cum->gp_reg_found, cum->arg_number, cum->arg_words,
GET_MODE_NAME (mode));
fprintf (stderr, "%p", type);
fprintf (stderr, "%p", (const void *) type);
fprintf (stderr, ", %d )\n\n", named);
}