This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] correct typo in craph's debug output?
- From: Kelley Cook <kcook34 at ford dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 18 Sep 2003 10:31:34 -0400
- Subject: [Patch] correct typo in craph's debug output?
- Hop-count: 1
- Reply-to: Kelley Cook <kelleycook at wideopenwest dot com>
This seems like an obvious fix, but I thought I'd run it by the
maintainers first since maybe it is written this way for a reason.
cgraph's dumps look like this, which seem wrong to me:
loop_giv_dump 254 insns reachable tree inlinable
called by :record_giv debug_giv
calls: print_simple_rtl print_simple_rtl print_simple_rtl fancy_abort
loop_biv_dump 88 insns reachable tree inlinable
called by :record_biv debug_biv
calls: print_simple_rtl print_simple_rtl
This one-liner fixes the colon placement giving...
loop_giv_dump 254 insns reachable tree inlinable
called by: record_giv debug_giv
calls: print_simple_rtl print_simple_rtl print_simple_rtl fancy_abort
loop_biv_dump 88 insns reachable tree inlinable
called by: record_biv debug_biv
calls: print_simple_rtl print_simple_rtl
OK to install?
Kelley Cook
2003-09-18 Kelley Cook <kelleycook@wideopenwest.com>
* cgraph.c: Fix typo in debug output.
--- cgraph.c.orig 2003-09-18 10:22:48.662544000 -0400
+++ cgraph.c 2003-09-18 10:23:02.913035200 -0400
@@ -376,7 +376,7 @@
if (node->global.cloned_times > 1)
fprintf (f, " cloned %ix", node->global.cloned_times);
- fprintf (f, "\n called by :");
+ fprintf (f, "\n called by: ");
for (edge = node->callers; edge; edge = edge->next_caller)
{
fprintf (f, "%s ", cgraph_node_name (edge->caller));