GC Bug
Richard Earnshaw
rearnsha@arm.com
Thu Sep 9 08:59:00 GMT 1999
I've just done a quick egrep of the source code, looking for
function-static tree and rtx expressions (egrep "[ \t]static tree" etc);
this reveals several persistent values that may need GC attention (it
might be worth adding a comment if these are known not to need a gc root
adding):
c-pragma.c: static tree id;
Not sure about this one;
except.c: static tree fn;
Just fixed.
expr.c: static tree fn;
Fixed.
expr.c: static tree fn;
Fixed.
expr.c: static tree *save_expr_rewritten;
May not need fixing (used to refer to below.
expr.c: static tree save_expr_trees[256];
Does not appear to be fixed (but may only be used in recursion).
expr.c: static tree placeholder_list = 0;
Does not appear to be fixed.
fold-const.c: static tree size_table[2*HOST_BITS_PER_WIDE_INT + 1][2];
Fixed (not used if ggc_p on).
More information about the Gcc-patches
mailing list