From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id D2F3B388EC38; Fri, 10 Jun 2022 14:26:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2F3B388EC38 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 r10-10824] libstdc++: Partially revert r11-9772-g6f8133689f4397 [PR105915] X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: 44a4c6f5e4f9a26bec36b8b3da16cd8fa0cb4957 X-Git-Newrev: f2385d1fe9f9ee0b5940ba27b41b79c9db051104 Message-Id: <20220610142634.D2F3B388EC38@sourceware.org> Date: Fri, 10 Jun 2022 14:26:34 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2022 14:26:34 -0000 https://gcc.gnu.org/g:f2385d1fe9f9ee0b5940ba27b41b79c9db051104 commit r10-10824-gf2385d1fe9f9ee0b5940ba27b41b79c9db051104 Author: Jonathan Wakely Date: Fri Jun 10 13:01:16 2022 +0100 libstdc++: Partially revert r11-9772-g6f8133689f4397 [PR105915] The r11-9772-g6f8133689f4397 backport made two changes, but only one was needed on the gcc-11 branch. The other should not have been backported, and causes errors with clang. This removes the unwanted part. libstdc++-v3/ChangeLog: PR libstdc++/105915 * include/experimental/bits/fs_path.h (path::begin, path::end): Remove noexcept from declarations. (cherry picked from commit 60c84707034f025de3c8821cc5d6f27ff59143b0) Diff: --- libstdc++-v3/include/experimental/bits/fs_path.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/include/experimental/bits/fs_path.h b/libstdc++-v3/include/experimental/bits/fs_path.h index 927cf2278d1..0a8f4eee0a1 100644 --- a/libstdc++-v3/include/experimental/bits/fs_path.h +++ b/libstdc++-v3/include/experimental/bits/fs_path.h @@ -419,8 +419,8 @@ namespace __detail class iterator; typedef iterator const_iterator; - iterator begin() const noexcept; - iterator end() const noexcept; + iterator begin() const; + iterator end() const; /// @cond undocumented // Create a basic_string by reading until a null character.