From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B6BA385840E; Mon, 22 Nov 2021 21:14:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B6BA385840E From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/103365] ICE in register_scoped_attribute, at attribs.c:390 Date: Mon, 22 Nov 2021 21:14:35 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc bug_status keywords cf_reconfirmed_on everconfirmed component 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2021 21:14:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103365 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12 Regression] ICE in |ICE in |register_scoped_attribute, |register_scoped_attribute, |at attribs.c:390 |at attribs.c:390 Status|UNCONFIRMED |NEW Keywords| |ice-on-valid-code Last reconfirmed| |2021-11-22 Ever confirmed|0 |1 Component|c |middle-end --- Comment #1 from Andrew Pinski --- #pragma GCC diagnostic ignored_attributes "n::_a" There is a check to make sure the attribute isn't named __a__ but the assert only checks that the attribute starts with _. Note you can also reproduce the ICE with the following option passed to GCC: -Wno-attributes=3Dn::_a Confirmed, not a regression as the warning option is new.=