void typed_test(void)
{
GC_word * old, * new;
- GC_word bm3[1] = { 0x3 };
- GC_word bm2[1] = { 0x2 };
+ GC_word bm3[1] = {0};
+ GC_word bm2[1] = {0};
GC_word bm_large[1] = { 0xf7ff7fff };
- GC_descr d1 = GC_make_descriptor(bm3, 2);
- GC_descr d2 = GC_make_descriptor(bm2, 2);
+ GC_descr d1;
+ GC_descr d2;
GC_descr d3 = GC_make_descriptor(bm_large, 32);
GC_descr d4 = GC_make_descriptor(bm_huge, 320);
GC_word * x = (GC_word *)GC_malloc_explicitly_typed(
GC_printf("Bad GC_get_bit() or bm_huge initialization\n");
FAIL;
}
+ GC_set_bit(bm3, 0);
+ GC_set_bit(bm3, 1);
+ d1 = GC_make_descriptor(bm3, 2);
+ GC_set_bit(bm2, 1);
+ d2 = GC_make_descriptor(bm2, 2);
old = 0;
for (i = 0; i < 4000; i++) {
collectable_count++;