On Sat, 2 Jun 2012 20:31:26 +0200 Basile Starynkevitch <bas...@starynkevitch.net> wrote: > In a few words, plugins cannot extend existing GCC data structures, but can > associate them > to their own data.
I forgot to mention that gimple-s (but not tree-s) give you a unsigned client number called a uid, which a single pass can set with gimple_set_uid and retrieve with gimple_uid, but that uid does not survive the end of a single pass (so you cannot use it to communicate data between two different passes of your plugin). 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 mine, sont seulement les miennes} ***