https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113250
Ken Matsui <kmatsui at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kmatsui at gcc dot gnu.org
--- Comment #2 from Ken Matsui <kmatsui at gcc dot gnu.org> ---
Confirmed. I think the testcase should also be like the following.
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/equivalent.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/equivalent.cc
@@ -40,7 +40,7 @@ test01()
__gnu_test::scoped_file f1(p1);
ec = bad_ec;
result = equivalent(p1, p2, ec);
- VERIFY( !ec );
+ VERIFY( ec == std::errc::no_such_file_or_directory );