This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Need GC help
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 3 Nov 03 17:50:21 EST
- Subject: Re: Need GC help
struct lang_type GTY(())
{
union {
union lang_tree_node
GTY((desc ("TREE_CODE (&%h.generic) == GNAT_LOOP_ID"),
tag ("0"))) t;
long GTY((tag ("1"))) digits_value;
} GTY ((desc ("<condition that's true when digits_value is used>"))) u;
};
What's confusing me here is that apparently the condition in "desc"
is getting called with the value of type_lang_specific. How do I go from
that value back to the tree node?