From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 0EA0D3854803; Fri, 1 Sep 2023 16:55:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EA0D3854803 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693587351; bh=MgEzsRKXYvbTAGsdY3KiVisqXO9UPHcEsbHux/p0Mys=; h=From:To:Subject:Date:From; b=e6afy7XGk01vWKJBxURgUBkTmwD3xZ13saKl6b2+G7SHT8U7/BAPnKJa4Nw6x5EaA Ny6ayF/WimkXFUyTRIVzuepTi++lJfXmfPKfXtqjal3l0JSjCYxuoNGIjHU45Z/DT4 aXCZMYFqZ6LBRYTAN5j/Cy6RjzR13Igd+ZHJrqjU= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-3629] libstdc++: Add -Wno-self-move to two filesystem tests X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 8d35b1ad9725466d15b4dea7478637ec7602f808 X-Git-Newrev: e3d25188b093c3b8552f2b3e3a33c2a6059e3ad6 Message-Id: <20230901165551.0EA0D3854803@sourceware.org> Date: Fri, 1 Sep 2023 16:55:51 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e3d25188b093c3b8552f2b3e3a33c2a6059e3ad6 commit r14-3629-ge3d25188b093c3b8552f2b3e3a33c2a6059e3ad6 Author: Jonathan Wakely Date: Fri Sep 1 12:11:24 2023 +0100 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: --- 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. //