summaryrefslogtreecommitdiffstats
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-21 00:33:01 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-21 00:33:01 +0000
commit291e3f966188fa078607b4b0f80540590b3ce8a1 (patch)
treef199797ca3390272f700ba72bbe88fb00859db38 /gcc/ggc-page.c
parent26877a3f246902e12d8405b7e5479181a31a3b56 (diff)
downloadppe42-gcc-291e3f966188fa078607b4b0f80540590b3ce8a1.tar.gz
ppe42-gcc-291e3f966188fa078607b4b0f80540590b3ce8a1.zip
* ggc-page.c (ggc_marked_p): Properly convert return to boolean.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45715 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r--gcc/ggc-page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 60517ae9020..8f2d32ea0bb 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. */
OpenPOWER on IntegriCloud