From: Jonathan Wakely Date: Fri, 1 Sep 2023 11:11:24 +0000 (+0100) Subject: libstdc++: Add -Wno-self-move to two filesystem tests X-Git-Tag: basepoints/gcc-15~6510 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3d25188b093c3b8552f2b3e3a33c2a6059e3ad6;p=thirdparty%2Fgcc.git libstdc++: Add -Wno-self-move to two filesystem tests libstdc++-v3/ChangeLog: * testsuite/27_io/filesystem/iterators/91067.cc: Add -Wno-self-move to options. * testsuite/27_io/filesystem/path/assign/copy.cc: Likewise. --- diff --git a/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc b/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc index b960ee7c798e..2bf1e081c25b 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc @@ -17,6 +17,7 @@ // { dg-do link { target c++17 } } // { dg-require-filesystem-ts "" } +// { dg-options "-Wno-self-move" } #include diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc index dc147b1cf3bd..6ec347531bcb 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++17 } } +// { dg-options "-Wno-self-move" } // Copyright (C) 2014-2023 Free Software Foundation, Inc. //