http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316
--- Comment #37 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-02 02:30:17 UTC --- I think the change to tree.c should not be done as it is middle-end code. That should be in the C++ front-end specific code instead. That is the middle-end should not care about the difference between extern "C" function types and extern "C++" ones.