diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ggc-page.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1419033..bbc7d9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + + * ggc-page.c (ggc_marked_p): Properly convert return to boolean. + 2001-09-20 DJ Delorie <dj@redhat.com> * c-typeck.c (really_start_incremental_init): Discriminate diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 60517ae..8f2d32e 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -1027,7 +1027,7 @@ ggc_marked_p (p) word = bit / HOST_BITS_PER_LONG; mask = (unsigned long) 1 << (bit % HOST_BITS_PER_LONG); - return entry->in_use_p[word] & mask; + return (entry->in_use_p[word] & mask) != 0; } /* Return the size of the gc-able object P. */ |