From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 113FB3858D39; Thu, 21 Sep 2023 18:10:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 113FB3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695319825; bh=ZzT7zNqJcFSgMUcMjWvoZiau3x6RJu1fss1owXEd9MY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yIkAihRBgYYqR9E+ypR3t/CFdv/yxnRzmR/mbYbBGgAKszARwOAEJcp3Ew+JCe1UD E53Wxy+JtPjJ2/WWI1rVHqdWaNPbZqv+Sj+5zBXaV9MAeTdxQN4PkzF+Y44In0HRAL Q++uvMqAs/ML/CzNyjMJkbi88+MB5MT92OVziRxQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/111526] inconsistent handling of declaration after label Date: Thu, 21 Sep 2023 18:10:24 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: cf_reconfirmed_on bug_status everconfirmed 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=3D111526 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-09-21 Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- This is expected behavior. -Wc11-c2x-compat warns also ... >(which I haven't fully reduced but can easily reproduce), We need a testcase where you think it should warn but does not ...=