ggc -vs- gcc/cp/init.c
Tom Tromey
tromey@cygnus.com
Sat Feb 26 16:12:00 GMT 2000
gcc/cp/init.c has a static `tree' variable which is not added as a
root. From function build_java_class_ref:
static tree CL_prefix = NULL_TREE;
if (CL_prefix == NULL_TREE)
CL_prefix = get_identifier("_CL_");
Shouldn't this be added as a root, say within the `if'?
if (CL_prefix == NULL_TREE)
{
CL_prefix = get_identifier ("_CL_");
ggc_add_tree_root (&CL_prefix, 1);
}
... or do I misunderstand something?
Tom
More information about the Gcc
mailing list