This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] [libstdc++] [C++0x] Export std::string base object move constructor.
> Here is updated patch with testcases, tested with unpatched libstdc++
> where it failed to link and patched where it succeeded.
> The testcases are copies of corresponding moveable.cc tests, just
> using the new class inheriting from std::basic_string<char> resp.
> std::basic_string<wchar_t> and with -fno-inline.
> Is that ok?
>
> 2011-03-22 Jakub Jelinek <jakub@redhat.com>
>
> * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
> and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
> * config/abi/post/solaris2.8/baseline_symbols.txt:
> Regenerated.
> * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt:
> Likewise.
> * config/abi/post/s390x-linux-gnu/baseline_symbols.txt:
> Likewise.
> * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt:
> Likewise.
> * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
> Likewise.
> * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt:
> Likewise.
> * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
> Likewise.
> * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
> Likewise.
> * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
> * config/abi/post/solaris2.10/amd64/baseline_symbols.txt:
> Likewise.
> * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
> Likewise.
> * config/abi/post/i486-linux-gnu/baseline_symbols.txt:
> Likewise.
> * config/abi/post/i386-linux-gnu/baseline_symbols.txt:
> Likewise.
> * config/abi/post/s390-linux-gnu/baseline_symbols.txt:
> Likewise.
> * testsuite/21_strings/basic_string/cons/char/moveable2.cc:
> New test.
> *
> testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New test.
OK.
Thanks!
-benjamin