summaryrefslogtreecommitdiff
path: root/gcc/config/iq2000/iq2000.c
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-23 15:02:47 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-23 15:02:47 +0000
commit2ce72210eb2873827782238c8c88b1d5a2baa8ad (patch)
treee46e905add19da381f919052bafd2527bcf7a1b2 /gcc/config/iq2000/iq2000.c
parenta3df98042cffb22f89d92d0f6ac279914a92b4e0 (diff)
downloadgcc-2ce72210eb2873827782238c8c88b1d5a2baa8ad.tar.gz
PR target/54660
* config/iq2000/iq2000.c (iq2000_function_arg_advance): Suppress compile time warning about pointer printing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192717 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/iq2000/iq2000.c')
-rw-r--r--gcc/config/iq2000/iq2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c
index da0b43da35b..6285edd31d3 100644
--- a/gcc/config/iq2000/iq2000.c
+++ b/gcc/config/iq2000/iq2000.c
@@ -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);
}