From 8e86a8789d7a82b6f389c7c9052ba250933fafcb Mon Sep 17 00:00:00 2001 From: bryce Date: Wed, 25 Jan 2006 03:03:14 +0000 Subject: Import Boehm GC version 6.6. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110204 138bc75d-0d04-0410-961f-82ee72b054a4 --- boehm-gc/mark.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'boehm-gc/mark.c') diff --git a/boehm-gc/mark.c b/boehm-gc/mark.c index c645bc0eeec..09dfe92af31 100644 --- a/boehm-gc/mark.c +++ b/boehm-gc/mark.c @@ -858,9 +858,9 @@ mse * GC_steal_mark_stack(mse * low, mse * high, mse * local, ++top; top -> mse_descr = descr; top -> mse_start = p -> mse_start; - GC_ASSERT( top -> mse_descr & GC_DS_TAGS != GC_DS_LENGTH || - top -> mse_descr < GC_greatest_plausible_heap_addr - - GC_least_plausible_heap_addr); + GC_ASSERT( (top -> mse_descr & GC_DS_TAGS) != GC_DS_LENGTH || + top -> mse_descr < (ptr_t)GC_greatest_plausible_heap_addr + - (ptr_t)GC_least_plausible_heap_addr); /* If this is a big object, count it as */ /* size/256 + 1 objects. */ ++i; @@ -1450,8 +1450,8 @@ void GC_push_all_eager(bottom, top) ptr_t bottom; ptr_t top; { - word * b = (word *)(((long) bottom + ALIGNMENT-1) & ~(ALIGNMENT-1)); - word * t = (word *)(((long) top) & ~(ALIGNMENT-1)); + word * b = (word *)(((word) bottom + ALIGNMENT-1) & ~(ALIGNMENT-1)); + word * t = (word *)(((word) top) & ~(ALIGNMENT-1)); register word *p; register word q; register word *lim; -- cgit v1.2.1