mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-28 03:04:44 +08:00
* ggc-page.c (ggc_marked_p): Properly convert return to boolean.
From-SVN: r45715
This commit is contained in:
parent
e7b6a0ee34
commit
a4b5b2ae8d
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user