This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GC Bug
- To: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Subject: Re: GC Bug
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Thu, 09 Sep 1999 16:53:37 +0100
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Cc: richard dot earnshaw at arm dot com
- Organization: ARM Ltd.
- Reply-To: richard dot earnshaw at arm dot com
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).