From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BAABE395BC48; Thu, 23 Apr 2020 19:22:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BAABE395BC48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587669772; bh=tVRjxMaSgFTIv3fRp/WWUno3ZyuyC45buDr+4whhjJs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Di/xKdm7RwO1zugC16syQQn+2zfrdDv3I9b+WRM/ueM446r/OXkcCdUuO3g5VYXgU 8DbPAZlYZb7IJUV5JTiWU83CxNHrF+qREjJu2TUldRztEFYB5g4qfcTPsrtAiy6ucT Cve7ZJMfCtkWUXlAL9bRiWNqXCJcxf12o7NIw5x4= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94733] [10 Regression] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 Date: Thu, 23 Apr 2020 19:22:52 +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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Thu, 23 Apr 2020 19:22:52 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94733 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:7291b2edf6f87fba839b0d10c04b2562a5f6bd60 commit r10-7922-g7291b2edf6f87fba839b0d10c04b2562a5f6bd60 Author: Marek Polacek Date: Thu Apr 23 14:38:58 2020 -0400 c-family: Fix ICE on attribute with -fgnu-tm [PR94733] find_tm_attribute was using TREE_PURPOSE to get the attribute name, which is breaking now that we preserve the C++11-style attribute format past decl_attributes. So use get_attribute_name which can handle both formats of attributes. PR c++/94733 * c-attribs.c (find_tm_attribute): Use get_attribute_name inste= ad of TREE_PURPOSE. * g++.dg/tm/attrib-5.C: New test.=