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]

When is char_type_node available in plugins?


Hello All,

While coding (in MELT) https://github.com/bstarynk/melt-examples/tree/master/ex06
(which is essentially a MELT extension using the MELT 0.9.7 plugin from http://gcc-melt.org/ ) 
I noticed that the char_type_node tree from gcc/tree.h is not available 
(i.e. is still NULL) when the plugin_init function of a plugin is called.

Perhaps we should add a comment in gcc/tree.h explaining that, and state more precisely when is char_type_node really usable.

Regards.
-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


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