diff options
author | John Carr <jfc@mit.edu> | 1998-02-08 12:26:43 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-02-08 05:26:43 -0700 |
commit | 2e0dd623cd843a28beb1a83d0e0307166b0600d5 (patch) | |
tree | b3a9e8a08c931be589091cd8e18d0a6bae74b887 /gcc/bitmap.c | |
parent | 7bf825d296e1551e8df8e214a810974315db7b02 (diff) | |
download | gcc-2e0dd623cd843a28beb1a83d0e0307166b0600d5.tar.gz |
bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer, not a HOST_WIDE_INT.
* bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
not a HOST_WIDE_INT.
* calls.c (expand_call): Change test of expand_inline_function
return value to stop compiler warning.
* genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
From-SVN: r17777
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r-- | gcc/bitmap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c index f3c9a91e027..3cb81757602 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -1,5 +1,5 @@ /* Functions to support general ended bitmaps. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of GNU CC. @@ -563,9 +563,9 @@ bitmap_debug_file (file, head) bitmap_element *ptr; fprintf (file, "\nfirst = "); - fprintf (file, HOST_PTR_PRINTF, (HOST_WIDE_INT) head->first); + fprintf (file, HOST_PTR_PRINTF, head->first); fprintf (file, " current = "); - fprintf (file, HOST_PTR_PRINTF, (HOST_WIDE_INT) head->current); + fprintf (file, HOST_PTR_PRINTF, head->current); fprintf (file, " indx = %u\n", head->indx); for (ptr = head->first; ptr; ptr = ptr->next) @@ -573,11 +573,11 @@ bitmap_debug_file (file, head) int i, j, col = 26; fprintf (file, "\t"); - fprintf (file, HOST_PTR_PRINTF, (HOST_WIDE_INT) ptr); + fprintf (file, HOST_PTR_PRINTF, ptr); fprintf (file, " next = "); - fprintf (file, HOST_PTR_PRINTF, (HOST_WIDE_INT) ptr->next); + fprintf (file, HOST_PTR_PRINTF, ptr->next); fprintf (file, " prev = "); - fprintf (file, HOST_PTR_PRINTF, (HOST_WIDE_INT) ptr->prev); + fprintf (file, HOST_PTR_PRINTF, ptr->prev); fprintf (file, " indx = %u\n\t\tbits = {", ptr->indx); for (i = 0; i < BITMAP_ELEMENT_WORDS; i++) |