On 07/05/19 07:06 +0200, François Dumont wrote:
Hi
I just prefer to make the tests implementation-agnostic using reserve.
I check that without the patch to initiate the hashtable with 11
buckets I reproduce the failures and that with this patch it is fine.
PR libstdc++/90277
* testsuite/23_containers/unordered_multiset/insert/24061-multiset.cc
(test01): Reserve for number of insertions to avoid rehash during test.
* testsuite/23_containers/unordered_multimap/insert/24061-multimap.cc
(test01): Likewise.
* testsuite/23_containers/unordered_multimap/insert/24061-multimap.cc
(test01): Likewise.
(test02): Likewise.
(test03): Likewise.
I plan to commit it this evening if not told otherwise.
Great, thanks.