This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
quick format change
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 05 Apr 2005 16:45:10 -0400
- Subject: quick format change
Apparently obvious :-) checked in.
Andrew
2005-04-05 Andrew MacLeod <amacleod@redhat.com>
* tree-pretty-print.c (dump_generic_node): Use %p for pointer.
Index: tree-pretty-print.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-pretty-print.c,v
retrieving revision 2.54
diff -c -p -r2.54 tree-pretty-print.c
*** tree-pretty-print.c 5 Apr 2005 19:05:03 -0000 2.54
--- tree-pretty-print.c 5 Apr 2005 20:38:27 -0000
*************** dump_generic_node (pretty_printer *buffe
*** 272,278 ****
dump_vops (buffer, node, spc, flags);
if (is_stmt && (flags & TDF_STMTADDR))
! pp_printf (buffer, "<&0x%x> ", (unsigned int)node);
if (dumping_stmts
&& (flags & TDF_LINENO)
--- 272,278 ----
dump_vops (buffer, node, spc, flags);
if (is_stmt && (flags & TDF_STMTADDR))
! pp_printf (buffer, "<&%p> ", (void *)node);
if (dumping_stmts
&& (flags & TDF_LINENO)