This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]