http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51159
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-16 21:18:20 UTC --- Have you tried the trunk? --enable-build-with-cxx is really only needed if your plugin is written in C++.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51159
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-16 21:18:20 UTC --- Have you tried the trunk? --enable-build-with-cxx is really only needed if your plugin is written in C++.