From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 8552D3829BEE; Fri, 10 Jun 2022 13:28:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8552D3829BEE 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 r11-10058] libstdc++: Partially revert r11-9772-g6f8133689f4397 [PR105915] X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: dd1b31d23172c60109249c156ad9edc1fa9bc050 X-Git-Newrev: 60c84707034f025de3c8821cc5d6f27ff59143b0 Message-Id: <20220610132829.8552D3829BEE@sourceware.org> Date: Fri, 10 Jun 2022 13:28:29 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2022 13:28:29 -0000 https://gcc.gnu.org/g:60c84707034f025de3c8821cc5d6f27ff59143b0 commit r11-10058-g60c84707034f025de3c8821cc5d6f27ff59143b0 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. 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 1cc1b3bf686..a2bc931c696 100644 --- a/libstdc++-v3/include/experimental/bits/fs_path.h +++ b/libstdc++-v3/include/experimental/bits/fs_path.h @@ -425,8 +425,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.