summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-25 23:19:16 +0000
committerrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-25 23:19:16 +0000
commit038ca0d1be343465ff6791fbdba23a365eb376e0 (patch)
tree2e0d6e06ebfd77fe4e8485508cb0f70215fbb4aa /gcc/print-tree.c
parent6cee91464e936dcd49f20b67098e7b64f73142f0 (diff)
downloadgcc-038ca0d1be343465ff6791fbdba23a365eb376e0.tar.gz
* hwint.h (HOST_LONG_FORMAT): New macro
* bitmap.c, c-decl.c, mips-tfile.c, print-rtl.c, print-tree.c: Use HOST_PTR_PRINTF. * system.h (HOST_PTR_PRINTF): Resurrect old macro * doc/hostconfig.texi (HOST_LONG_FORMAT): Document. (HOST_PTR_PRINTF): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151108 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 28235c5e57d..26f467cba8e 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -1,6 +1,7 @@
/* Prints out tree in human readable form - GCC
Copyright (C) 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -66,7 +67,7 @@ dump_addr (FILE *file, const char *prefix, const void *addr)
if (flag_dump_noaddr || flag_dump_unnumbered)
fprintf (file, "%s#", prefix);
else
- fprintf (file, "%s%p", prefix, addr);
+ fprintf (file, "%s" HOST_PTR_PRINTF, prefix, addr);
}
/* Print a node in brief fashion, with just the code, address and name. */