https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313
--- Comment #5 from ville at gcc dot gnu.org --- Author: ville Date: Mon Jul 4 13:52:21 2016 New Revision: 237981 URL: https://gcc.gnu.org/viewcvs?rev=237981&root=gcc&view=rev Log: Backport from mainline 2016-07-04 Ville Voutilainen <ville.voutilai...@gmail.com> PR libstdc++/71313 * src/filesystem/ops.cc (remove_all(const path&, error_code&)): Call remove_all for children of a directory. * testsuite/experimental/filesystem/operations/create_directories.cc: Adjust. Modified: branches/gcc-5-branch/libstdc++-v3/ChangeLog branches/gcc-5-branch/libstdc++-v3/src/filesystem/ops.cc branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc