public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105186] New: ICE in canonicalize_attr_name, at attribs.h:146
@ 2022-04-06 18:25 gscfq@t-online.de
  2022-04-06 18:36 ` [Bug c++/105186] " mpolacek at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2022-04-06 18:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105186
           Summary: ICE in canonicalize_attr_name, at attribs.h:146
           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: ---

Affects versions down to at least r5 :


$ cat z1.cc
__attribute__((__int128))


$ g++-12-20220403 -c z1.cc
z1.cc:1:16: internal compiler error: Segmentation fault
    1 | __attribute__((__int128))
      |                ^~~~~~~~
0x10d3b0f crash_signal
        ../../gcc/toplev.cc:322
0x9035f5 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/tree.h:3456
0x9035f5 canonicalize_attr_name
        ../../gcc/attribs.h:146
0x9035f5 cp_parser_gnu_attribute_list
        ../../gcc/cp/parser.cc:28737
0x903831 cp_parser_gnu_attributes_opt
        ../../gcc/cp/parser.cc:28662
0x94439c cp_parser_declaration
        ../../gcc/cp/parser.cc:14844
0x94512d cp_parser_translation_unit
        ../../gcc/cp/parser.cc:5010
0x94512d c_parse_file()
        ../../gcc/cp/parser.cc:48057
0xad39a2 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1240

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

end of thread, other threads:[~2022-05-11  6:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 18:25 [Bug c++/105186] New: ICE in canonicalize_attr_name, at attribs.h:146 gscfq@t-online.de
2022-04-06 18:36 ` [Bug c++/105186] " mpolacek at gcc dot gnu.org
2022-04-07 13:16 ` [Bug c++/105186] [9/10/11/12 Regression] " jakub at gcc dot gnu.org
2022-04-07 15:29 ` jakub at gcc dot gnu.org
2022-04-11  8:42 ` cvs-commit at gcc dot gnu.org
2022-04-11  9:04 ` [Bug c++/105186] [9/10/11 " jakub at gcc dot gnu.org
2022-04-13  4:28 ` cvs-commit at gcc dot gnu.org
2022-04-13  5:59 ` [Bug c++/105186] [9/10 " jakub at gcc dot gnu.org
2022-05-10  8:26 ` cvs-commit at gcc dot gnu.org
2022-05-11  6:26 ` cvs-commit at gcc dot gnu.org
2022-05-11  6:36 ` 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).