This is the mail archive of the gcc@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]
Other format: [Raw text]

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?


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