[tree-ssa] Fix format in c-call-graph

Frank van Dijk f.vdijk@va.nl
Tue Dec 24 15:52:00 GMT 2002


> The appended patch fixes this warning:
> /cvs/gcc-tree-ssa-20020619-branch/gcc/c-call-graph.c:124: warning: int format, double arg (arg 6)
> > + output_printf (buffer, "<stats calls=\"%d\" decisions=\"%d\" stmts=\"%d\" Gilb=\"%f\"", 
> > Ok to commit? Or should the output really be an int - I'll commit then
> the other version.
> I believe the output really is a double.  Sébastian?

FYI, this breaks -fdump-call-graph. The output_format()
function in diagnostic.c does not support %f and abort()s.

This patch was entered ~29 november in c-call-graph.c in the
tree-ssa-20020619-branch.

mvrgr Frank van Dijk




More information about the Gcc-patches mailing list