aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2005-04-05 20:44:29 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2005-04-05 20:44:29 +0000
commitdbb9a00fc97c26d5c3237ce456a4dfbec5ffef10 (patch)
tree07bb63d190fcd855ff40d13fdc79f38b82475066 /gcc
parentf19e3a64adb7011b6077943eef5a2a6f305fa1e1 (diff)
downloadgcc-dbb9a00fc97c26d5c3237ce456a4dfbec5ffef10.zip
gcc-dbb9a00fc97c26d5c3237ce456a4dfbec5ffef10.tar.gz
gcc-dbb9a00fc97c26d5c3237ce456a4dfbec5ffef10.tar.bz2
tree-pretty-print.c (dump_generic_node): Use %p for pointer.
2005-04-05 Andrew MacLeod <amacleod@redhat.com> * tree-pretty-print.c (dump_generic_node): Use %p for pointer. From-SVN: r97655
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-pretty-print.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 12c9ab9..45ff7cd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-05 Andrew MacLeod <amacleod@redhat.com>
+
+ * tree-pretty-print.c (dump_generic_node): Use %p for pointer.
+
2005-04-05 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (init_cumulative_args): For -m32 -mfpmath=sse
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index c21766e..06c9f13 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)