summaryrefslogtreecommitdiffstats
path: root/boehm-gc/allchblk.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-18 01:04:43 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-18 01:04:43 +0000
commit8fee6c5ba203062646a84ef04770c79ba2be0a6a (patch)
tree0a038d94cc4acd44c0926f011247f6b7969fa84b /boehm-gc/allchblk.c
parent75ae025532a15d2842c5401959ef6775e3ebe550 (diff)
downloadppe42-gcc-8fee6c5ba203062646a84ef04770c79ba2be0a6a.tar.gz
ppe42-gcc-8fee6c5ba203062646a84ef04770c79ba2be0a6a.zip
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
merged local changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44994 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/allchblk.c')
-rw-r--r--boehm-gc/allchblk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/boehm-gc/allchblk.c b/boehm-gc/allchblk.c
index 5b7bcff050f..76296721416 100644
--- a/boehm-gc/allchblk.c
+++ b/boehm-gc/allchblk.c
@@ -627,7 +627,8 @@ int n;
while ((ptr_t)lasthbp <= search_end
&& (thishbp = GC_is_black_listed(lasthbp,
- (word)eff_size_needed))) {
+ (word)eff_size_needed))
+ != 0) {
lasthbp = thishbp;
}
size_avail -= (ptr_t)lasthbp - (ptr_t)hbp;
@@ -654,7 +655,7 @@ int n;
&& orig_avail - size_needed
> (signed_word)BL_LIMIT) {
/* Punt, since anything else risks unreasonable heap growth. */
- if (0 != GETENV("GC_NO_BLACKLIST_WARNING")) {
+ if (0 == GETENV("GC_NO_BLACKLIST_WARNING")) {
WARN("Needed to allocate blacklisted block at 0x%lx\n",
(word)hbp);
}
OpenPOWER on IntegriCloud