aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-09-01 12:11:24 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-09-01 17:52:41 +0100
commite3d25188b093c3b8552f2b3e3a33c2a6059e3ad6 (patch)
tree887ef271ad7e3ab123504df0aff2d4c7082b14a8
parent8d35b1ad9725466d15b4dea7478637ec7602f808 (diff)
downloadgcc-e3d25188b093c3b8552f2b3e3a33c2a6059e3ad6.zip
gcc-e3d25188b093c3b8552f2b3e3a33c2a6059e3ad6.tar.gz
gcc-e3d25188b093c3b8552f2b3e3a33c2a6059e3ad6.tar.bz2
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.
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc b/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
index b960ee7..2bf1e08 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 <filesystem>
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 dc147b1..6ec3475 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.
//