diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-05 20:44:29 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-05 20:44:29 +0000 |
commit | f3a600484501c7f6f44ea27843f31915ca939d1f (patch) | |
tree | 07bb63d190fcd855ff40d13fdc79f38b82475066 /gcc/tree-pretty-print.c | |
parent | c7aa60c61bc662370e8bf20a3064bef58ac52371 (diff) | |
download | gcc-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.c | 2 |
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) |