public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/103365] New: [12 Regression] ICE in register_scoped_attribute, at attribs.c:390
@ 2021-11-22 19:37 gscfq@t-online.de
  2021-11-22 21:14 ` [Bug middle-end/103365] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2021-11-22 19:37 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-24  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 19:37 [Bug c/103365] New: [12 Regression] ICE in register_scoped_attribute, at attribs.c:390 gscfq@t-online.de
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

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).