diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-07-08 00:35:52 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-07-08 00:35:52 +0000 |
commit | 75b6f3fd3a00de216b2a38fb3ad2da80e08979f1 (patch) | |
tree | ff36bca69b7fbedb7d6cc5611fbd918944314e77 /gcc/print-tree.c | |
parent | afeeac3f8845c16d6165f59b1823f89dbca569bb (diff) | |
download | gcc-75b6f3fd3a00de216b2a38fb3ad2da80e08979f1.tar.gz |
bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with adjacent stdio calls.
gcc:
* bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
adjacent stdio calls.
* c-decl.c (c_print_identifier): Likewise.
* mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
* print-rtl.c (print_rtx): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
* configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
* config.in, configure: Regenerated.
cp:
* decl.c (print_binding_level, print_other_binding_stack,
print_binding_stack): Merge uses of HOST_PTR_PRINTF with adjacent
stdio calls.
* ptree.c (cxx_print_decl, cxx_print_binding): Likewise.
From-SVN: r69061
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r-- | gcc/print-tree.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 88bbc34092f..ebf1a70f8a4 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -72,8 +72,8 @@ print_node_brief (FILE *file, const char *prefix, tree node, int indent) name if any. */ if (indent > 0) fprintf (file, " "); - fprintf (file, "%s <%s ", prefix, tree_code_name[(int) TREE_CODE (node)]); - fprintf (file, HOST_PTR_PRINTF, (char *) node); + fprintf (file, "%s <%s " HOST_PTR_PRINTF, + prefix, tree_code_name[(int) TREE_CODE (node)], (char *) node); if (class == 'd') { @@ -209,8 +209,8 @@ 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 ", prefix, tree_code_name[(int) TREE_CODE (node)]); - fprintf (file, HOST_PTR_PRINTF, (char *) node); + fprintf (file, "%s <%s " HOST_PTR_PRINTF, + prefix, tree_code_name[(int) TREE_CODE (node)], (void *) node); /* Print the name, if any. */ if (class == 'd') @@ -445,8 +445,8 @@ print_node (FILE *file, const char *prefix, tree node, int indent) && DECL_SAVED_INSNS (node) != 0) { indent_to (file, indent + 4); - fprintf (file, "saved-insns "); - fprintf (file, HOST_PTR_PRINTF, (char *) DECL_SAVED_INSNS (node)); + fprintf (file, "saved-insns " HOST_PTR_PRINTF, + (void *) DECL_SAVED_INSNS (node)); } /* Print the decl chain only if decl is at second level. */ |