]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Add -Wno-self-move to two filesystem tests
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Sep 2023 11:11:24 +0000 (12:11 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 1 Sep 2023 16:52:41 +0000 (17:52 +0100)
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
libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc

index b960ee7c798efae2f460346c314f83c301606fe7..2bf1e081c25bc6c4cf52064b2c1f379936c4b430 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-do link { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-options "-Wno-self-move" }
 
 #include <filesystem>
 
index dc147b1cf3bd53033182d99340605e8d3b84867e..6ec347531bcbc92fbd827c7eafd01150bac17a7c 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++17 } }
+// { dg-options "-Wno-self-move" }
 
 // Copyright (C) 2014-2023 Free Software Foundation, Inc.
 //