This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [plugin] Directory for plugins distributed with gcc
> In general I think spinning off modules/passes that are not used very
> frequently (e.g. the tree browser) is a good idea since it reduces the
> size of our code base.
I would go a bit further.
One nice properties of plugins is that they have a more restrictive
API. That should help us to get the code a bit more maintainable.
Olatunji's work is a very nice example. For example, to make mudflap a
plugin he had to remove the occurrences of "if (flag_mudflap)" and
make mudflap use the existing generic varpool.
>
> Diego.
>
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047