https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102882
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- OK, that confirms that the allocations are being done by the std::string objects inside the library. But I really don't want to have to use custom allocators every time we use std::string in such tests.