https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106932
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Tom Allen from comment #0) > This appears to be contrary to bullet 4.7.4 in Section 29.11.14.3 of the > C++20 spec, where for regular files in a source directory, the effect should > be equivalent to passing any options through to a copy_file() call on each > file. No, because f is not a regular file, it's the directory "source".