Re: Usage of std::string's max_size in the testsuite

2016-11-30 Thread Jonathan Wakely
On 29/11/16 21:46 +0100, Thomas Schwinge wrote: Hi! 32-bit x86 GNU/Hurd recently switched from 2 GiB/2 GiB user/kernel address space to a 3 GiB/1 GiB split. After that, I see test cases like libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc allocate huge amounts of memor

Usage of std::string's max_size in the testsuite

2016-11-29 Thread Thomas Schwinge
Hi! 32-bit x86 GNU/Hurd recently switched from 2 GiB/2 GiB user/kernel address space to a 3 GiB/1 GiB split. After that, I see test cases like libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc allocate huge amounts of memory. Looking into this, this is coming from: [