When is char_type_node available in plugins?
Basile Starynkevitch
basile@starynkevitch.net
Wed Oct 17 09:02:00 GMT 2012
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} ***
More information about the Gcc
mailing list