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]

plugins & PCH


Hello

I believe plugins and PCH are not always mixing well. For sure, plugins which are using PLUGIN_REGISTER_GGC_ROOTS & are called when *generating* a precompiled header should be coded with extraordinary care, and very probably some more suppport is needed inside the GCC trunk.

See the discussion on http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00507.html for more.

Maybe we should for the moment issue a warning when a precompiled header is generated with plugins having used PLUGIN_REGISTER_GGC_ROOTS?

To be safe, the generated *gch file should know all the active plugins when it was generated. We also need a "dynamic tag" support which I only sketched in the discussion of http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00507.html

Of course, this does not affect the read of precompiled headers.

Comments are welcome.

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]