aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2005-08-16 00:13:53 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2005-08-16 00:13:53 +0000
commit06145cb9b44f59899973a773983c4adfe7f21f72 (patch)
tree774ee5769490a67cd97563023ebfcb374ef18a6a /gcc/print-tree.c
parent54778d9cf50cf51781b7a1d08d963a6c8e803ac1 (diff)
downloadgcc-06145cb9b44f59899973a773983c4adfe7f21f72.zip
gcc-06145cb9b44f59899973a773983c4adfe7f21f72.tar.gz
gcc-06145cb9b44f59899973a773983c4adfe7f21f72.tar.bz2
aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
* 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. From-SVN: r103135
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 954ee2d..ddc370b 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -73,7 +73,7 @@ print_node_brief (FILE *file, const char *prefix, tree node, int indent)
name if any. */
if (indent > 0)
fprintf (file, " ");
- fprintf (file, "%s <%s " HOST_PTR_PRINTF,
+ fprintf (file, "%s <%s %p",
prefix, tree_code_name[(int) TREE_CODE (node)], (char *) node);
if (class == tcc_declaration)
@@ -218,7 +218,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
indent_to (file, indent);
/* Print the slot this node is in, and its code, and address. */
- fprintf (file, "%s <%s " HOST_PTR_PRINTF,
+ fprintf (file, "%s <%s %p",
prefix, tree_code_name[(int) TREE_CODE (node)], (void *) node);
/* Print the name, if any. */
@@ -495,7 +495,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
&& DECL_STRUCT_FUNCTION (node) != 0)
{
indent_to (file, indent + 4);
- fprintf (file, "saved-insns " HOST_PTR_PRINTF,
+ fprintf (file, "saved-insns %p",
(void *) DECL_STRUCT_FUNCTION (node));
}
@@ -755,7 +755,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
break;
case STATEMENT_LIST:
- fprintf (file, " head " HOST_PTR_PRINTF " tail " HOST_PTR_PRINTF " stmts",
+ fprintf (file, " head %p tail %p stmts",
(void *) node->stmt_list.head, (void *) node->stmt_list.tail);
{
tree_stmt_iterator i;
@@ -763,7 +763,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
{
/* Not printing the addresses of the (not-a-tree)
'struct tree_stmt_list_node's. */
- fprintf (file, " " HOST_PTR_PRINTF, (void *)tsi_stmt (i));
+ fprintf (file, " %p", (void *)tsi_stmt (i));
}
fprintf (file, "\n");
for (i = tsi_start (node); !tsi_end_p (i); tsi_next (&i))