Commit e35990c4 by Andrew Haley Committed by Andrew Haley

boehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.

2000-12-14  Andrew Haley  <aph@redhat.com>

        * boehm.c (mark_reference_fields): Change test to correctly detect
        bitmap overflow.

From-SVN: r38293
parent 96790071
2000-12-14 Andrew Haley <aph@redhat.com>
* boehm.c (mark_reference_fields): Change test to correctly detect
bitmap overflow.
2000-12-15 Andreas Jaeger <aj@suse.de>
* config-lang.in (lang_dirs): Added.
......
......@@ -130,7 +130,7 @@ mark_reference_fields (field, low, high, ubit,
for (i = 0; i < size_words; ++i)
set_bit (low, high, ubit - count - i - 1);
if (count > ubit - 2)
if (count >= ubit - 2)
*pointer_after_end = 1;
/* If we saw a non-reference field earlier, then we can't
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment