diff mbox

Fix mismatched size and time in an ipa-inline.c dump

Message ID 20110224152250.GA12699@virgil.arch.suse.de
State New
Headers show

Commit Message

Martin Jambor Feb. 24, 2011, 3:22 p.m. UTC
Hi,

in one of the dump fprintf's in ipa-inline.c, the printed function
time and size do not match the string description and confused me a
bit.

I hope this won't collide with any of the pretty-ipa patches.  I think
the patch is rather obvious and will commit it tomorrow, unless anyone
objects.  It has passed bootstrap and testing on x86_64-linux.

Thanks,

Martin


2011-02-23  Martin Jambor  <mjambor@suse.cz>

	* ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix
	the description to match the printed values.
diff mbox

Patch

Index: src/gcc/ipa-inline.c
===================================================================
--- src.orig/gcc/ipa-inline.c
+++ src/gcc/ipa-inline.c
@@ -1243,7 +1243,7 @@  cgraph_decide_inlining_of_small_function
       if (dump_file)
 	{
 	  fprintf (dump_file,
-		   " Inlined into %s which now has size %i and self time %i,"
+		   " Inlined into %s which now has time %i and size %i,"
 		   "net change of %+i.\n",
 		   cgraph_node_name (edge->caller),
 		   edge->caller->global.time,