aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.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/c-decl.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/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 9940f92..1bc9791 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -579,7 +579,7 @@ c_print_identifier (FILE *file, tree node, int indent)
{
tree rid = ridpointers[C_RID_CODE (node)];
indent_to (file, indent + 4);
- fprintf (file, "rid %p \"%s\"",
+ fprintf (file, "rid " HOST_PTR_PRINTF " \"%s\"",
(void *) rid, IDENTIFIER_POINTER (rid));
}
}