https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71004
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon May 9 10:09:37 2016 New Revision: 236023 URL: https://gcc.gnu.org/viewcvs?rev=236023&root=gcc&view=rev Log: libstdc++/71004 fix recursive_directory_iterator default constructor PR libstdc++/71004 * include/experimental/bits/fs_dir.h (recursive_directory_iterator): Initialize scalar member variables in default constructor. * testsuite/experimental/filesystem/iterators/ recursive_directory_iterator.cc: Teste default construction. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/experimental/bits/fs_dir.h trunk/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc