[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X attribute syntax, gnu::format and -Wsuggest-attribute=format]

pexu@gcc-bugzilla.mail.kapsi.fi gcc-bugzilla@gcc.gnu.org
Thu Dec 31 09:21:03 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487

--- Comment #1 from Pekka S <pexu@gcc-bugzilla.mail.kapsi.fi> ---
Created attachment 49863
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49863&action=edit
Possible patch

Uses get_attribute_name instead of TREE_PURPOSE.


More information about the Gcc-bugs mailing list