I have updated the API Wiki at http://gcc.gnu.org/wiki/GCC_PluginAPI.

1) The way to pass arguments to plug-ins has been reverted to the approach suggested by many:
--
  -fplugin=/path/to/NAME.so -fNAME-arg1=value -fNAME-arg2=value
--

2) The name of struct plugin_registration is now struct callback_registration.

3) There is a name field in struct callback_registration to allow a callback to have a formal name that is reported in errors.

4) There is a new function, register_callback, that registers one callback at a time. This can be implemented as a simple wrapper on top of register_callbacks, or the other way around.

Sean

Reply via email to