OSDN Git Service

2009-04-14 Rafael Avila de Espindola <espindola@google.com>
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Apr 2009 13:54:41 +0000 (13:54 +0000)
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Apr 2009 13:54:41 +0000 (13:54 +0000)
Merge:

2008-12-19  Diego Novillo  <dnovillo@google.com>

         * cgraph.c (dump_cgraph_node): Show memory address of NODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146036 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cgraph.c

index de5f66b..e489fc0 100644 (file)
@@ -1,3 +1,11 @@
+2009-04-14  Rafael Avila de Espindola  <espindola@google.com>
+
+       Merge:
+
+       2008-12-19  Diego Novillo  <dnovillo@google.com>
+
+               * cgraph.c (dump_cgraph_node): Show memory address of NODE.
+
 2000-04-14  Richard Guenther  <rguenther@suse.de>
 
        * tree-cfg.c (verify_gimple_assign_unary): Adjust vector code
index d5dba42..86642ab 100644 (file)
@@ -1154,7 +1154,8 @@ void
 dump_cgraph_node (FILE *f, struct cgraph_node *node)
 {
   struct cgraph_edge *edge;
-  fprintf (f, "%s/%i(%i):", cgraph_node_name (node), node->uid, node->pid);
+  fprintf (f, "%s/%i(%i) [%p]:", cgraph_node_name (node), node->uid,
+          node->pid, (void *) node);
   if (node->global.inlined_to)
     fprintf (f, " (inline copy in %s/%i)",
             cgraph_node_name (node->global.inlined_to),