summaryrefslogtreecommitdiff
path: root/gcc/cp/ptree.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-16 00:13:53 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-16 00:13:53 +0000
commitca0205ee617ab19b9dc4f6f322b501c57624c187 (patch)
tree774ee5769490a67cd97563023ebfcb374ef18a6a /gcc/cp/ptree.c
parent0ef21e140f1f09a785fa9c7cc9642924178f4de5 (diff)
downloadgcc-ca0205ee617ab19b9dc4f6f322b501c57624c187.tar.gz
* aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
* configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR. * system.h (HOST_PTR_PRINTF): Don't define, poison it. * bitmap.c, c-decl.c, config/i386/i386-interix.h, config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c: Delete HOST_PTR_PRINTF. * configure, config.in: Regenerate. cp: * name-lookup.c, ptree.c: Delete HOST_PTR_PRINTF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ptree.c')
-rw-r--r--gcc/cp/ptree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c
index 75263735c89..8a7ba940063 100644
--- a/gcc/cp/ptree.c
+++ b/gcc/cp/ptree.c
@@ -46,15 +46,15 @@ cxx_print_decl (FILE *file, tree node, int indent)
indent_to (file, indent + 3);
if (TREE_CODE (node) == FUNCTION_DECL
&& DECL_PENDING_INLINE_INFO (node))
- fprintf (file, " pending-inline-info " HOST_PTR_PRINTF,
+ fprintf (file, " pending-inline-info %p",
(void *) DECL_PENDING_INLINE_INFO (node));
if (TREE_CODE (node) == TYPE_DECL
&& DECL_SORTED_FIELDS (node))
- fprintf (file, " sorted-fields " HOST_PTR_PRINTF,
+ fprintf (file, " sorted-fields %p",
(void *) DECL_SORTED_FIELDS (node));
if ((TREE_CODE (node) == FUNCTION_DECL || TREE_CODE (node) == VAR_DECL)
&& DECL_TEMPLATE_INFO (node))
- fprintf (file, " template-info " HOST_PTR_PRINTF,
+ fprintf (file, " template-info %p",
(void *) DECL_TEMPLATE_INFO (node));
}
@@ -142,7 +142,7 @@ cxx_print_type (FILE *file, tree node, int indent)
static void
cxx_print_binding (FILE *stream, cxx_binding *binding, const char *prefix)
{
- fprintf (stream, "%s <" HOST_PTR_PRINTF ">",
+ fprintf (stream, "%s <%p>",
prefix, (void *) binding);
}