From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 092193858CD1; Thu, 2 Nov 2023 09:45:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 092193858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698918344; bh=9zV7P5Z9w4VvE+pXtzVYkbElUL2JsX79tfExv/wOlJc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ciaW4ELZSONHS/TPa/rOp/y4BxZc/QyJRtQtmp/PFsowS28Q40MDqkDOlm+FvWXx0 S3478dgXlFSETPaJodjLicXYLoD6QpidormcX/m9CdkQ+vzdWbHKWywWs9gj/GIQpw paHK8RLTST+3ETesBNNmqpXXfteYx1tiBQIgDrSs= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/112339] ICE with clang::no_sanitize and -fsanitize= Date: Thu, 02 Nov 2023 09:45:41 +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: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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=3D112339 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 56488 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56488&action=3Dedit gcc14-pr112339.patch Indeed. For -Wno-attributes=3D registered attributes we don't really parse= their arguments and there is no handler for them, so if they are added, their argument will be always error_mark_node and they'll just confuse any lookup_attribute done later. I must say I'm a little bit afraid of what happens when one uses -Wno-attributes=3Dgnu:: or -Wno-attributes=3Dgnu::some_standard_gnu_attribu= te, but this patch shouldn't make that worse.=