summaryrefslogtreecommitdiffstats
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
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