summaryrefslogtreecommitdiffstats
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-08 00:35:52 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-08 00:35:52 +0000
commit6f8178291d6a29282c4da1aedcf451c1172945a0 (patch)
treeff36bca69b7fbedb7d6cc5611fbd918944314e77 /gcc/print-tree.c
parenteb35aa89e69ec3ed513cd9cdd429faa2df6c2ea7 (diff)
downloadppe42-gcc-6f8178291d6a29282c4da1aedcf451c1172945a0.tar.gz
ppe42-gcc-6f8178291d6a29282c4da1aedcf451c1172945a0.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69061 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c12
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. */
OpenPOWER on IntegriCloud