From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35EC93858002; Wed, 19 Jul 2023 16:46:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35EC93858002 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689785180; bh=lnhm3p1xSYoOvISHRcEZPGPPUWXi6S9Rb525kK3Hcn0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uFxoSnn7rnXexgxYKCuCn/CYHRMnLFCEcnjZTQBfBe6gENdR92HaUmYspvjE9QQQY 5OMujVsIR2ORbsY03WwIbsn1GmFp9VclGh6OhbQRoXMgg+XjZoAffiUvel8prFY9e0 cmpgD5z1S52kD9STEmnvoByPDpyUrZ2PqeRuBMiI= From: "ndesaulniers at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/37722] destructors not called on computed goto Date: Wed, 19 Jul 2023 16:46:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.3.2 X-Bugzilla-Keywords: documentation, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ndesaulniers at google dot com 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: cc 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=3D37722 Nick Desaulniers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ndesaulniers at google dot= com --- Comment #6 from Nick Desaulniers --- (In reply to Jakub Jelinek from comment #5) > I'm afraid for computed gotos all we can do is just document something > similar Right, clang behaves this way, too. And I don't see how we'd change that, f= or all of the reasons above. If the documentation doesn't mention this edge c= ase with the computed goto extension, it should be revised to do so. Then this bug can be closed as "Working as intended" IMO.=