https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88881
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- This bug is the cause of: FAIL: experimental/filesystem/operations/canonical.cc execution test The trailing slashes in the paths cause the _wstat calls to fail.