aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2009-08-25 23:19:16 +0000
committerDouglas Rupp <rupp@gcc.gnu.org>2009-08-25 23:19:16 +0000
commitedb890249f17668ad09ad13f14198d4a2b307413 (patch)
tree2e0d6e06ebfd77fe4e8485508cb0f70215fbb4aa /gcc/bitmap.c
parentff22013ab297213bbd9a5df1badb767f896a71ec (diff)
downloadgcc-edb890249f17668ad09ad13f14198d4a2b307413.zip
gcc-edb890249f17668ad09ad13f14198d4a2b307413.tar.gz
gcc-edb890249f17668ad09ad13f14198d4a2b307413.tar.bz2
hwint.h (HOST_LONG_FORMAT): New macro
* hwint.h (HOST_LONG_FORMAT): New macro * bitmap.c, c-decl.c, mips-tfile.c, print-rtl.c, print-tree.c: Use HOST_PTR_PRINTF. * system.h (HOST_PTR_PRINTF): Resurrect old macro * doc/hostconfig.texi (HOST_LONG_FORMAT): Document. (HOST_PTR_PRINTF): Document. From-SVN: r151108
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r--gcc/bitmap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index deca5e5..93c1386 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -2028,14 +2028,16 @@ debug_bitmap_file (FILE *file, const_bitmap head)
{
const bitmap_element *ptr;
- fprintf (file, "\nfirst = %p current = %p indx = %u\n",
+ 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%p next = %p prev = %p indx = %u\n\t\tbits = {",
+ fprintf (file, "\t" HOST_PTR_PRINTF " next = " HOST_PTR_PRINTF
+ " prev = " HOST_PTR_PRINTF " indx = %u\n\t\tbits = {",
(const void*) ptr, (const void*) ptr->next,
(const void*) ptr->prev, ptr->indx);