aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2009-08-25 23:19:16 +0000
committerDouglas Rupp <rupp@gcc.gnu.org>2009-08-25 23:19:16 +0000
commitedb890249f17668ad09ad13f14198d4a2b307413 (patch)
tree2e0d6e06ebfd77fe4e8485508cb0f70215fbb4aa /gcc/print-tree.c
parentff22013ab297213bbd9a5df1badb767f896a71ec (diff)
downloadgcc-edb890249f17668ad09ad13f14198d4a2b307413.zip
gcc-edb890249f17668ad09ad13f14198d4a2b307413.tar.gz
gcc-edb890249f17668ad09ad13f14198d4a2b307413.tar.bz2
hwint.h (HOST_LONG_FORMAT): New macro
* 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. From-SVN: r151108
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 28235c5..26f467c 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. */