From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A93ED3857C76; Wed, 14 Sep 2022 20:42:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A93ED3857C76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663188152; bh=CCkK5xxuXvotc5H7v6i6F8lHt5qp4DkWZw+0mnpiJwQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JA4djic5dfje1YgfuZkJ9tDh/SoiwwBhonG6RGSieZALUm34LMPtszU+p5JwGh/m9 dIzJXje25wG8FZfGz73/uTHcI7BslRxAbln1BD9wNmdaVilnlsjSRrg3VRWKVUp08G pkxQlSvWyOxtmrWtEOfS4hQbn9JedoUJ+QUedoEg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106947] [12/13 Regression] -Waddress + bool + pragma generates meaningless diagnostic Date: Wed, 14 Sep 2022 20:42:32 +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.1.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc target_milestone 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=3D106947 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|-Waddress + bool + pragma |[12/13 Regression] |generates meaningless |-Waddress + bool + pragma |diagnostic |generates meaningless | |diagnostic Target Milestone|--- |12.3 --- Comment #2 from Andrew Pinski --- This is a regression from GCC 11.x which did not have this inform. The inform was added in r12-4059-g4dc7ce6fb39179 . What is interesting is the C++ front-end was done correctly but not the C front-end ...=