Re: [PATCH] PR libstdc++/90634 reduce allocations in filesystem::path construction

2019-05-28 Thread Jonathan Wakely
On 28/05/19 17:10 +0100, Jonathan Wakely wrote: PR libstdc++/90634 * src/filesystem/path.cc (path::_M_split_cmpts()): Fix check for "/". * testsuite/27_io/filesystem/path/construct/90634.cc: New test. * testsuite/experimental/filesystem/path/construct/90634.cc: New

[PATCH] PR libstdc++/90634 reduce allocations in filesystem::path construction

2019-05-28 Thread Jonathan Wakely
PR libstdc++/90634 * src/filesystem/path.cc (path::_M_split_cmpts()): Fix check for "/". * testsuite/27_io/filesystem/path/construct/90634.cc: New test. * testsuite/experimental/filesystem/path/construct/90634.cc: New test. PR libstdc++/90634 * incl