r270612 - in /branches/gcc-9-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Apr 26 16:44:00 GMT 2019


Author: redi
Date: Fri Apr 26 16:44:17 2019
New Revision: 270612

URL: https://gcc.gnu.org/viewcvs?rev=270612&root=gcc&view=rev
Log:
Fix tests that fail with _GLIBCXX_USE_CXX11_ABI=0

The pmr::string typedef isn't available for the old COW string, so some
tests that use it were failing.

Backport from mainline
2019-04-26  Jonathan Wakely  <jwakely@redhat.com>

	* testsuite/20_util/variant/run.cc: Use a new Hashable type to test
	hashing, because pmr::string depends on _GLIBCXX_USE_CXX11_ABI==1.
	* testsuite/21_strings/basic_string/hash/hash.cc
	[!_GLIBCXX_USE_CXX11_ABI]: Don't test pmr strings.
	* testsuite/21_strings/basic_string/hash/hash_char8_t.cc
	[!_GLIBCXX_USE_CXX11_ABI]: Likewise.

Modified:
    branches/gcc-9-branch/libstdc++-v3/ChangeLog
    branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/variant/run.cc
    branches/gcc-9-branch/libstdc++-v3/testsuite/21_strings/basic_string/hash/hash.cc
    branches/gcc-9-branch/libstdc++-v3/testsuite/21_strings/basic_string/hash/hash_char8_t.cc



More information about the Libstdc++-cvs mailing list