From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D77B3858C33; Thu, 20 Jul 2023 10:42:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D77B3858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689849743; bh=v0iWGeZQsoSZYPl8/T0SjusJA16eMMjbyPHljvBsJYE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Gy/HUBBGDyMfsOqy+QLSJwrr2Aw0Y1RdJ89D5QB3R4lRhoM5aQSiMG03rH98EdsHF NGV5m5vN2YQt0CGWnRwdsqgliaLgDE21SrleyRvsPehw+RAvD8UJizdwV8MgbheC8X UO9/36uGj9UUeUuQfRC9ZTeaXnQD6rzisr1p1uOc= From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/91951] missed (optimization-level dependent) diagnostic for goto when cleanup attribute callback is not invoked Date: Thu, 20 Jul 2023 10:42:22 +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: 9.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: short_desc 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=3D91951 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|goto + mixed declarations + |missed (optimization-level |cleanup attribute |dependent) diagnostic for |considered harmful |goto when cleanup attribute | |callback is not invoked CC| |egallager at gcc dot gnu.o= rg --- Comment #4 from Eric Gallager --- (In reply to Nick Desaulniers from comment #3) > Not sure if it's possible to rename the title of bugs, but a more precise > title for this bug might be: >=20 > missed (optimization-level dependent) diagnostic for goto when cleanup > attribute callback is not invoked done=