This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/2316] g++ fails to overload on language linkage
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jan 2012 02:30:17 +0000
- Subject: [Bug c++/2316] g++ fails to overload on language linkage
- Auto-submitted: auto-generated
- References: <bug-2316-4@http.gcc.gnu.org/bugzilla/>
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.