This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GC Bug


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).



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]