2
0
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:
Richard Kenner 2001-09-21 00:33:01 +00:00 committed by Richard Kenner
parent e7b6a0ee34
commit a4b5b2ae8d
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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. */