https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68331
--- Comment #6 from vries at gcc dot gnu.org ---
(In reply to vries from comment #5)
> libstdc++.sum:FAIL: experimental/filesystem/path/concat/strings.cc execution
The test doesn't pass when compiled from the command line with -fno-ipa-pta.
Failure backtrace (for -O0 -g):
...
Program received signal SIGSEGV, Segmentation fault.
0x0000000000404811 in
std::vector<std::experimental::filesystem::v1::__cxx11::path::_Cmpt,
std::allocator<std::experimental::filesystem::v1::__cxx11::path::_Cmpt>
>::~vector (this=0x4f, __in_chrg=<optimized out>)
at x86_64-pc-linux-gnu/libstdc++-v3/include/bits/stl_vector.h:426
426 { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
(gdb) bt
#0 0x0000000000404811 in
std::vector<std::experimental::filesystem::v1::__cxx11::path::_Cmpt,
std::allocator<std::experimental::filesystem::v1::__cxx11::path::_Cmpt>
>::~vector (this=0x4f, __in_chrg=<optimized out>)
at x86_64-pc-linux-gnu/libstdc++-v3/include/bits/stl_vector.h:426
#1 0x000000000040373e in
std::experimental::filesystem::v1::__cxx11::path::~path (this=0x2f,
__in_chrg=<optimized out>)
at x86_64-pc-linux-gnu/libstdc++-v3/include/experimental/bits/fs_path.h:190
#2 0x00000000004075ec in
std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts() ()
#3 0x0000000000407fd7 in
std::experimental::filesystem::v1::__cxx11::path::parent_path() const ()
#4 0x00000000004042bf in test01 ()
at libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc:45
#5 0x000000000040465a in main ()
at libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc:54
...