Commit 690eed2c by Nathan Sidwell Committed by Nathan Sidwell

* ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.

From-SVN: r57121
parent 712467a4
2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
* ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
2002-09-13 Steve Ellcey <sje@cup.hp.com>
* config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
......
......@@ -128,7 +128,8 @@ ggc_mark_roots ()
they are not already marked. */
for (ct = gt_ggc_cache_rtab; *ct; ct++)
for (cti = *ct; cti->base != NULL; cti++)
htab_traverse (*cti->base, ggc_htab_delete, (PTR) cti);
if (*cti->base)
htab_traverse (*cti->base, ggc_htab_delete, (PTR) cti);
}
/* R had not been previously marked, but has now been marked via
......
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