This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: using plugin and lto: problem linking c-pragma symbol
On Mon, May 30, 2011 at 13:44, Basile Starynkevitch
<basile@starynkevitch.net> wrote:
> Diego and other people interested in plugins, what do you think of such
> a proposal?
I don't think that would work. Plugins need to know at what level
they are working. FE plugins would have access to functions and data
that gimple plugins would not.
When a gimple plugin is working, it is likely that the front end will
either not exist (e.g., we are in lto1) or its data destroyed, so we
can't really support this.
Diego.