From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8503D3858282; Tue, 8 Nov 2022 17:07:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8503D3858282 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667927263; bh=ATkMCIuSIQccDX48XeLsn2CcII/+Bivx9e7O8PKfmbg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yv+lA2Nt15m9PRVUsce5Gwv41eXgThh2AjeCe4O6cSEApKQR3EYzvmOiCP+DD9eIm xqjqlbgKj5PvPA0CZwa8W1q5An6wadclmeWjwZCFT6sX/MTBzAZg31ezZPgushupna S7+jTk1Z9Czlo7Tgcxx2VEfVI7fKKOpes32SYVhw= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107555] Never constructed object destroyed during exception handling Date: Tue, 08 Nov 2022 17:07:42 +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: 12.2.0 X-Bugzilla-Keywords: EH, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107555 --- Comment #7 from Jonathan Wakely --- (In reply to Boris Kolpackov from comment #6) > I was under the impression that only something runnable would be useful, = but https://gcc.gnu.org/bugs/#need > if all that's need is a preprocessed translation unit, then that's no > problem at all. I've also attached the translation unit with the workarou= nd > for your reference. Thanks for attaching them.=