Commit 2dc34a12 by Nick Clifton Committed by Nick Clifton

re PR target/54660 (iq2000_function_arg_advance: format ‘%p expects argument of…

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
parent b4e64afb
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 |
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment