diff options
| author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-21 00:33:01 +0000 |
|---|---|---|
| committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-21 00:33:01 +0000 |
| commit | 291e3f966188fa078607b4b0f80540590b3ce8a1 (patch) | |
| tree | f199797ca3390272f700ba72bbe88fb00859db38 /gcc/ggc-page.c | |
| parent | 26877a3f246902e12d8405b7e5479181a31a3b56 (diff) | |
| download | ppe42-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.c | 2 |
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. */ |

