As of 20-Apr-2009, the branch is closed. All plugin functionality has been merged into mainline.

See also the Plugins chapter of the internal GCC documentation.

A repository of GCC plugins is now available at

Distributed GCC plugins should be GPLv3 compatible free software.

Last updated: 20-Apr-2009


This project adds a commonly used mechanism for extending software functionality: plugins. With this, it will be possible for a developer to add new features to the compiler without having to modify the compiler itself. Plugin functionality provides several advantages:

The code is being developed in the SVN branch plugins. The API being implemented is described here, it is still not finalized and will likely change frequently. To get the latest version of the branch:

$ svn co svn://

The usual rules for contributing to branches apply to this branch:

  1. Contributors must have copyright assignments on file with the FSF.
  2. Messages and patches to the lists should have their subject prefixed with [plugins].

  3. ChangeLog entries should be written to ChangeLog.plugins.

To run plugin-specific tests, go to the top-level of the build tree and do

$ make check-gcc RUNTESTFLAGS="plugin.exp"

Branch Status

Things/Projects To Do


None: plugins-branch (last edited 2009-06-19 03:53:25 by BasileStarynkevitch)