aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-04-14 13:54:41 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-04-14 13:54:41 +0000
commite495a0c84ddde3fb1a080f32a98570ec1691f598 (patch)
tree9c3a97b192c04ecbda2954874da5c6d9a2a196c3
parent587aa06343905910d85ff1980cad0e3be57984b1 (diff)
downloadgcc-e495a0c84ddde3fb1a080f32a98570ec1691f598.zip
gcc-e495a0c84ddde3fb1a080f32a98570ec1691f598.tar.gz
gcc-e495a0c84ddde3fb1a080f32a98570ec1691f598.tar.bz2
[multiple changes]
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. From-SVN: r146036
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/cgraph.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index de5f66b..e489fc0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index d5dba42..86642ab 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -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),