On Jul 1, 2011, at 2:34 PM, Gary Funck wrote: > Is there some way to use the language specific information hook? > > struct GTY(()) tree_type_with_lang_specific { > struct tree_type_common common; > /* Points to a structure whose details depend on the language in use. */ > struct lang_type *lang_specific; > };
You can use that to allocate additional data for the frontend's exclusive use. See the C++ frontend, it uses language specific data. :-)