This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> > 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.

Sure. I will bring it up again then.

> 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.

Interesting. Please cc me on this PR.

Note that one of the objectives of this email is to try and get
maintainers from thinking there is going to be "a perfect time" to
switch. Development history tells us there will always be more changes.
We've been sitting on ABI-breaking changes since 2003.

So, the smart thing to do is to plan a transition..... and to allow
testing in an easy and reproducible manner beforehand. The more time
the better.

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]