summaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-05 20:44:29 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-05 20:44:29 +0000
commitf3a600484501c7f6f44ea27843f31915ca939d1f (patch)
tree07bb63d190fcd855ff40d13fdc79f38b82475066 /gcc/tree-pretty-print.c
parentc7aa60c61bc662370e8bf20a3064bef58ac52371 (diff)
downloadgcc-f3a600484501c7f6f44ea27843f31915ca939d1f.tar.gz
2005-04-05 Andrew MacLeod <amacleod@redhat.com>
* tree-pretty-print.c (dump_generic_node): Use %p for pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index c21766e7e5b..06c9f132024 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -272,7 +272,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
dump_vops (buffer, node, spc, flags);
if (is_stmt && (flags & TDF_STMTADDR))
- pp_printf (buffer, "<&0x%x> ", (unsigned int)node);
+ pp_printf (buffer, "<&%p> ", (void *)node);
if (dumping_stmts
&& (flags & TDF_LINENO)