summaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-23 16:25:06 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-23 16:25:06 +0000
commitf8cb9479d4a5548ba9bbd8f9ab70d01f727e88d3 (patch)
tree53a4b08418f74d22bc685a38db711d1b59bbf82f /gcc/bitmap.c
parentcac87caefba4c2d9ea0908a69b2f08a62183a4a0 (diff)
downloadgcc-f8cb9479d4a5548ba9bbd8f9ab70d01f727e88d3.tar.gz
* bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
with %p. * ggc-page.c (debug_print_page_list, alloc_page, free_page, ggc_alloc): Likewise. * bb-reorder.c (dump_scope_forest_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35201 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r--gcc/bitmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index d1588d8b7eb..5daba06a533 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -596,9 +596,9 @@ debug_bitmap_file (file, head)
bitmap_element *ptr;
fprintf (file, "\nfirst = ");
- fprintf (file, HOST_PTR_PRINTF, head->first);
+ fprintf (file, HOST_PTR_PRINTF, (PTR) head->first);
fprintf (file, " current = ");
- fprintf (file, HOST_PTR_PRINTF, head->current);
+ fprintf (file, HOST_PTR_PRINTF, (PTR) head->current);
fprintf (file, " indx = %u\n", head->indx);
for (ptr = head->first; ptr; ptr = ptr->next)
@@ -606,11 +606,11 @@ debug_bitmap_file (file, head)
int i, j, col = 26;
fprintf (file, "\t");
- fprintf (file, HOST_PTR_PRINTF, ptr);
+ fprintf (file, HOST_PTR_PRINTF, (PTR) ptr);
fprintf (file, " next = ");
- fprintf (file, HOST_PTR_PRINTF, ptr->next);
+ fprintf (file, HOST_PTR_PRINTF, (PTR) ptr->next);
fprintf (file, " prev = ");
- fprintf (file, HOST_PTR_PRINTF, ptr->prev);
+ fprintf (file, HOST_PTR_PRINTF, (PTR) ptr->prev);
fprintf (file, " indx = %u\n\t\tbits = {", ptr->indx);
for (i = 0; i < BITMAP_ELEMENT_WORDS; i++)