From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 255563858CDB; Wed, 20 Mar 2024 14:46:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 255563858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710945968; bh=lRNovbWkmoLHRilTau0yeCEFgvMqJAJPpoLtMIXNf9U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f5JMleckQzrBcNnISPxuwn45Hh7gOECXRFVQClWOCrUEKAxxkgv/71VtJ0Gqcvz85 vfJw9OQlzwh7HmArlyiSWKMSlJZCehbc5bDslbcNLbDxLKAoiYehNwdqh72Lk6NxK7 sp0oiFWlxIycSzzV9PGLq/Pr5ZBWputRIDQ356gA= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114401] libstdc++ allocator destructor omitted when reinserting node_handle into tree- and hashtable-based containers Date: Wed, 20 Mar 2024 14:46:06 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status attachments.created 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114401 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Status|NEW |ASSIGNED --- Comment #1 from Jonathan Wakely --- Created attachment 57748 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57748&action=3Dedit Untested patch to fix all assoc containers Thanks for the report and analysis. This should do it.=