]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix tests for COW std::string [PR 96088]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 2 Jun 2021 11:33:38 +0000 (12:33 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 2 Jun 2021 12:33:24 +0000 (13:33 +0100)
commit81eab204a56dcd8acb1ca5d7df277437ca07b51a
tree548f9292e7a6804f29c4d84c1264b6a4c4741d82
parent46d04271a4983b5430ed4830ab65ea26052176fb
libstdc++: Fix tests for COW std::string [PR 96088]

The expected number of allocations is different when copying COW
strings.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

PR libstdc++/96088
* testsuite/23_containers/unordered_map/96088.cc: Adjust
expected number of allocations.
* testsuite/23_containers/unordered_set/96088.cc: Likewise.
libstdc++-v3/testsuite/23_containers/unordered_map/96088.cc
libstdc++-v3/testsuite/23_containers/unordered_set/96088.cc