public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54660] New: iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree
@ 2012-09-21 17:21 amylaar at gcc dot gnu.org
2012-10-23 15:03 ` [Bug target/54660] " nickc at gcc dot gnu.org
2013-02-26 12:13 ` amylaar at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-09-21 17:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54660
Bug #: 54660
Summary: iq2000_function_arg_advance: format ‘%p expects
argument of type ‘void*’, but argument 3 has type
‘const_tree
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amylaar@gcc.gnu.org
Blocks: 44756
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber \
../../../gcc/gcc/config/iq2000/iq2000.c -o iq2000.o
../../../gcc/gcc/config/iq2000/iq2000.c: In function ‘void
iq2000_function_arg_advance(cumulative_args_t, machine_mode, const_tree,
bool)’:
../../../gcc/gcc/config/iq2000/iq2000.c:1145:34: error: format ‘%p’ expects
argument of type ‘void*’, but argument 3 has type ‘const_tree {aka const
tree_node*}’ [-Werror=format]
fprintf (stderr, "%p", type);
^
cc1plus: all warnings being treated as errors
make[2]: *** [iq2000.o] Error 1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/54660] iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree
2012-09-21 17:21 [Bug target/54660] New: iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree amylaar at gcc dot gnu.org
@ 2012-10-23 15:03 ` nickc at gcc dot gnu.org
2013-02-26 12:13 ` amylaar at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: nickc at gcc dot gnu.org @ 2012-10-23 15:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54660
--- Comment #1 from Nick Clifton <nickc at gcc dot gnu.org> 2012-10-23 15:02:53 UTC ---
Author: nickc
Date: Tue Oct 23 15:02:47 2012
New Revision: 192717
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192717
Log:
PR target/54660
* config/iq2000/iq2000.c (iq2000_function_arg_advance): Suppress
compile time warning about pointer printing.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/iq2000/iq2000.c
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/54660] iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree
2012-09-21 17:21 [Bug target/54660] New: iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree amylaar at gcc dot gnu.org
2012-10-23 15:03 ` [Bug target/54660] " nickc at gcc dot gnu.org
@ 2013-02-26 12:13 ` amylaar at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: amylaar at gcc dot gnu.org @ 2013-02-26 12:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54660
Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2013-02-26 12:12:42 UTC ---
Target builds now.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-26 12:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-21 17:21 [Bug target/54660] New: iq2000_function_arg_advance: format ‘%p expects argument of type ‘void*’, but argument 3 has type ‘const_tree amylaar at gcc dot gnu.org
2012-10-23 15:03 ` [Bug target/54660] " nickc at gcc dot gnu.org
2013-02-26 12:13 ` amylaar at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).