From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83FA23858409; Mon, 5 Feb 2024 15:46:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83FA23858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707147969; bh=BnMA1/fOR3rMUBJO8bMGKVpUQRfVWeBcwnWO0v+lQmM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RLe7xaFijDuoBwE3/8u0XlIkluOlq6BhtXUKnbHZsyMRMMr3cXrltd6HM8LsimMsI mIj3HGDzsGgai87Jh0oXuHIYxbZhvC5uBDJLtx/g3mRp8HInTOItgkIEYp6MjRrU3o vxggwSFIriSVtC3mpcvWhQegzq8FXWsuZTK8do34= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113767] [11/12/13 Regression] Missing Destructor Call with goto and return value Date: Mon, 05 Feb 2024 15:46:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone cc see_also short_desc 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=3D113767 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection | Target Milestone|--- |13.3 CC| |jason at gcc dot gnu.org, | |ppalka at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D92407 Summary|Missing Destructor Call |[11/12/13 Regression] |with goto and return value |Missing Destructor Call | |with goto and return value --- Comment #1 from Patrick Palka --- Fixed on trunk after r14-1593-g7e0b65b239c3a0, where we get the expected ou= tput Cons Dest Cons Dest and indeed this seems closely related or even a dup of PR92407 the fix for which has been backported for 11.5/12.4/13.3/14. However, using the latest 13/12/11 release branches containing the backport= ed fix I see we now output Cons Dest Cons Dest Dest instead of Cons Cons Dest which still seems wrong? (Not sure if generating different wrong code is considered a regression..)=