From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3EB53857026; Thu, 8 Apr 2021 23:37:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3EB53857026 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/96029] [8/9 Regression] Inconsistencies with associative/unordered containers Date: Thu, 08 Apr 2021 23:37:43 +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: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 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: Thu, 08 Apr 2021 23:37:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96029 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1228154b8726a3bc903f1967f9b3aac8fd192e46 commit r9-9327-g1228154b8726a3bc903f1967f9b3aac8fd192e46 Author: Fran=C3=A7ois Dumont Date: Fri Jul 3 08:13:19 2020 +0200 libstdc++: Fix [multi]map/[multi]set move constructors noexcept qualification Container move constructors shall not consider their allocator move constructor qualification. For the backport to gcc-9 the _Rb_tree_impl move constructor must be user-provided, because prior to the implementation of P1286R2 in r10-4094, a defaulted special member with a different exception would be deleted. libstdc++-v3/ChangeLog: PR libstdc++/96029 * include/bits/stl_tree.h (_Rb_tree_impl(_Rb_tree_impl&&)): Add noexcept qualification based only on _Compare one. * testsuite/23_containers/map/cons/noexcept_move_construct.cc: = Add static asserts. * testsuite/23_containers/multimap/cons/noexcept_move_construct= .cc: Likewise. * testsuite/23_containers/multiset/cons/noexcept_move_construct= .cc: Likewise. * testsuite/23_containers/set/cons/noexcept_move_construct.cc: Likewise. (cherry picked from commit c832cf1c1d114aed70c2f84566cf4d63de0a56d0)=