aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-07-08 00:35:52 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-07-08 00:35:52 +0000
commit75b6f3fd3a00de216b2a38fb3ad2da80e08979f1 (patch)
treeff36bca69b7fbedb7d6cc5611fbd918944314e77 /gcc/bitmap.c
parentafeeac3f8845c16d6165f59b1823f89dbca569bb (diff)
downloadgcc-75b6f3fd3a00de216b2a38fb3ad2da80e08979f1.zip
gcc-75b6f3fd3a00de216b2a38fb3ad2da80e08979f1.tar.gz
gcc-75b6f3fd3a00de216b2a38fb3ad2da80e08979f1.tar.bz2
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/bitmap.c')
-rw-r--r--gcc/bitmap.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index 619c713..9b6c47c 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -728,23 +728,17 @@ debug_bitmap_file (FILE *file, bitmap head)
{
bitmap_element *ptr;
- fprintf (file, "\nfirst = ");
- fprintf (file, HOST_PTR_PRINTF, (void *) head->first);
- fprintf (file, " current = ");
- fprintf (file, HOST_PTR_PRINTF, (void *) head->current);
- fprintf (file, " indx = %u\n", head->indx);
+ fprintf (file, "\nfirst = " HOST_PTR_PRINTF
+ " current = " HOST_PTR_PRINTF " indx = %u\n",
+ (void *) head->first, (void *) head->current, head->indx);
for (ptr = head->first; ptr; ptr = ptr->next)
{
unsigned int i, j, col = 26;
- fprintf (file, "\t");
- fprintf (file, HOST_PTR_PRINTF, (void *) ptr);
- fprintf (file, " next = ");
- fprintf (file, HOST_PTR_PRINTF, (void *) ptr->next);
- fprintf (file, " prev = ");
- fprintf (file, HOST_PTR_PRINTF, (void *) ptr->prev);
- fprintf (file, " indx = %u\n\t\tbits = {", ptr->indx);
+ fprintf (file, "\t" HOST_PTR_PRINTF " next = " HOST_PTR_PRINTF
+ " prev = " HOST_PTR_PRINTF " indx = %u\n\t\tbits = {",
+ (void*) ptr, (void*) ptr->next, (void*) ptr->prev, ptr->indx);
for (i = 0; i < BITMAP_ELEMENT_WORDS; i++)
for (j = 0; j < BITMAP_WORD_BITS; j++)