From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D06E397C873; Fri, 2 Jul 2021 11:15:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D06E397C873 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvMTAxMjcxXSBbMTIgUmVncmVzc2lvbl0g?= =?UTF-8?B?ZXJyb3I6IOKAmHN0YXRpYyBjb25zdGV4cHIgZGVjbHR5cGUgLi4uIHVzZWQg?= =?UTF-8?B?YmVmb3JlIGl0cyBkZWZpbml0aW9u?= Date: Fri, 02 Jul 2021 11:15:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2021 11:15:38 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101271 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:bc8f0ed7042280282035168428f6afc839997cf0 commit r12-1976-gbc8f0ed7042280282035168428f6afc839997cf0 Author: Jonathan Wakely Date: Fri Jul 2 08:46:18 2021 +0100 libstdc++: Revert changes to std::unique_ptr::operator[] [PR 10127= 1] This reverts the changes in r12-1778 which added a noexcept-specifier to std::unique_ptr::operator[], and the changes in r12-1844 which tried to make it work with incomplete types (for PR 101236). The noexcept-specifier is not required by the standard, and is causing regressions, so just remove it. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: PR libstdc++/101271 * include/bits/unique_ptr.h (unique_ptr::operator[]): Remove noexcept-specifier. (unique_ptr::_S_nothrow_deref): Remove. * testsuite/20_util/unique_ptr/lwg2762.cc: Remove checks for operator[].=