https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107580
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this is expected this is why there was a need for the new implementation of std::string and why there was a new ABI. the old std::string is not C++11 compatiable at all. I suspect this is a won't fix.