diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-09-21 00:33:01 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-09-20 20:33:01 -0400 |
commit | a4b5b2ae8d59dbaf8c855590cbd78ad3f5c47b64 (patch) | |
tree | f199797ca3390272f700ba72bbe88fb00859db38 /gcc/ggc-page.c | |
parent | e7b6a0ee34197334228ed9185ebaf84d5b975110 (diff) | |
download | gcc-a4b5b2ae8d59dbaf8c855590cbd78ad3f5c47b64.zip gcc-a4b5b2ae8d59dbaf8c855590cbd78ad3f5c47b64.tar.gz gcc-a4b5b2ae8d59dbaf8c855590cbd78ad3f5c47b64.tar.bz2 |
* ggc-page.c (ggc_marked_p): Properly convert return to boolean.
From-SVN: r45715
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r-- | gcc/ggc-page.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |