From e3d25188b093c3b8552f2b3e3a33c2a6059e3ad6 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 1 Sep 2023 12:11:24 +0100 Subject: [PATCH] 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. --- libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc | 1 + libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc | 1 + 2 files changed, 2 insertions(+) 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. // -- 2.47.2