C++ ABI RFC [was Re: C++/libiberty PATCH for many mangling fixes (6057, 48051, 50855, 51322, etc)]

Jason Merrill jason@redhat.com
Thu Jan 12 21:20:00 GMT 2012


On 01/12/2012 02:16 PM, Benjamin Kosnik wrote:
> As it turns out, the mangling changes don't really impact the explicit
> instantiations compiled in to libstdc++.so. So, it seems possible to say

Right, so people can use -fabi-version=0 and still use the installed 
libstdc++.

> I think a compelling case could be made to ship 4.7 with a
> configure-time flag that sets the default C++ dialect to C++11.

I don't think so.  Maybe 4.8.

I expect more mangling fixes in the future; most notably, we don't test 
for instantiation-dependent expressions, so our mangling oversimplifies 
some symbols.  I ought to open a PR for this.

Jason



More information about the Gcc mailing list