public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/103365] New: [12 Regression] ICE in register_scoped_attribute, at attribs.c:390 Date: Mon, 22 Nov 2021 19:37:04 +0000 [thread overview] Message-ID: <bug-103365-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103365 Bug ID: 103365 Summary: [12 Regression] ICE in register_scoped_attribute, at attribs.c:390 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started between 20211107 and 20211114 : $ cat z1.c #pragma GCC diagnostic ignored_attributes "c1::_attr" $ gcc-12-20211121 -c z1.c z1.c:1:9: internal compiler error: in register_scoped_attribute, at attribs.c:390 1 | #pragma GCC diagnostic ignored_attributes "c1::_attr" | ^~~ 0x74a559 register_scoped_attribute ../../gcc/attribs.c:390 0x74a640 register_scoped_attributes(attribute_spec const*, char const*, bool) ../../gcc/attribs.c:164 0x74acbd handle_ignored_attributes_option(vec<char*, va_heap, vl_ptr>*) ../../gcc/attribs.c:315 0x80bd84 handle_pragma_diagnostic ../../gcc/c-family/c-pragma.c:826 0x791881 c_parser_pragma ../../gcc/c/c-parser.c:12616 0x7b7135 c_parser_external_declaration ../../gcc/c/c-parser.c:1761 0x7b79fb c_parser_translation_unit ../../gcc/c/c-parser.c:1653 0x7b79fb c_parse_file() ../../gcc/c/c-parser.c:23280 0x808eb2 c_common_parse_file() ../../gcc/c-family/c-opts.c:1240
next reply other threads:[~2021-11-22 19:37 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-22 19:37 gscfq@t-online.de [this message] 2021-11-22 21:14 ` [Bug middle-end/103365] " pinskia at gcc dot gnu.org 2021-11-23 7:54 ` [Bug middle-end/103365] ICE in register_scoped_attribute, with attribute starting with underscore: -Wno-attributes=n::_a or #pragma GCC diagnostic ignored_attributes "n::_a" marxin at gcc dot gnu.org 2021-11-23 14:13 ` jakub at gcc dot gnu.org 2021-11-23 14:14 ` [Bug middle-end/103365] [12 Regression] " jakub at gcc dot gnu.org 2021-11-24 9:09 ` cvs-commit at gcc dot gnu.org 2021-11-24 9:11 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-103365-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).