From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7FCC13858C60; Tue, 18 Jul 2023 21:33:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FCC13858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689716015; bh=uRF7mhpB8BcK4vNN0IYFG1qN2Ro6AEsXvDcBjaK0hXM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IVwQfjuvsbf4x9kLiA9EB18bPguXVhiSVZkWIrgw/Ozt31+/q1quoyIu+Q283irV3 AKyk4VGkngVq+s/J4WJFx7CWR1a4jsgKjeTIthCpyKgk4U0PjlGKKt2umQ1CfPP1vV uGbh+W2GtJteUtb/fHVyXg0wCkiye7m+lt6wKW14= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/110728] should __attribute__((cleanup())) callback get invoked for indirect edges of asm goto Date: Tue, 18 Jul 2023 21:33:35 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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=3D110728 --- Comment #3 from Andrew Pinski --- That is even doing: ``` int g(); int h() { l0:; int x __attribute__((cleanup(test4cleanup))); if (g()) goto l0; } ``` Produces the same result which is why I said this is the same as PR 91951 really.=