public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108542] New: [13 Regression] ICE in instantiate_type, at cp/class.cc:8833
@ 2023-01-25 17:46 gscfq@t-online.de
  2023-01-26  7:43 ` [Bug c++/108542] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2023-01-25 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108542
           Summary: [13 Regression] ICE in instantiate_type, at
                    cp/class.cc:8833
           Product: gcc
           Version: 13.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 20221106 and 20221120 :


$ cat z1.cc
template<typename T>
void f (T n) {}
[[pre: f]]


$ g++-13-20230122 -c z1.cc
z1.cc:3:8: internal compiler error: in instantiate_type, at cp/class.cc:8833
    3 | [[pre: f]]
      |        ^
0x7d34ef instantiate_type(tree_node*, tree_node*, int)
        ../../gcc/cp/class.cc:8833
0x7b2c27 implicit_conversion_error
        ../../gcc/cp/call.cc:4658
0x7c05bc perform_implicit_conversion_flags(tree_node*, tree_node*, int, int)
        ../../gcc/cp/call.cc:13366
0x97e5cc contextual_conv_bool(tree_node*, int)
        ../../gcc/cp/typeck.cc:6952
0x97e5cc condition_conversion(tree_node*)
        ../../gcc/cp/typeck.cc:6961
0x81665a grok_contract(tree_node*, tree_node*, tree_node*, cp_expr, unsigned
int)
        ../../gcc/cp/contracts.cc:783
0x8f0a2f cp_parser_contract_attribute_spec
        ../../gcc/cp/parser.cc:29740
0x8f0a2f cp_parser_std_attribute_spec
        ../../gcc/cp/parser.cc:29886
0x8f0a2f cp_parser_std_attribute_spec_seq
        ../../gcc/cp/parser.cc:30011
0x8f0f51 cp_parser_attributes_opt
        ../../gcc/cp/parser.cc:28909
0x8e11e7 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.cc:15734
0x8e1aa1 cp_parser_simple_declaration
        ../../gcc/cp/parser.cc:15217
0x90c638 cp_parser_declaration
        ../../gcc/cp/parser.cc:15030
0x90d010 cp_parser_translation_unit
        ../../gcc/cp/parser.cc:5090
0x90d010 c_parse_file()
        ../../gcc/cp/parser.cc:49400
0x9f4e01 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1248

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

end of thread, other threads:[~2023-03-10 13:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25 17:46 [Bug c++/108542] New: [13 Regression] ICE in instantiate_type, at cp/class.cc:8833 gscfq@t-online.de
2023-01-26  7:43 ` [Bug c++/108542] " rguenth at gcc dot gnu.org
2023-01-26  9:28 ` marxin at gcc dot gnu.org
2023-02-21 12:57 ` rguenth at gcc dot gnu.org
2023-03-02 16:11 ` mpolacek at gcc dot gnu.org
2023-03-09 22:16 ` jason at gcc dot gnu.org
2023-03-10  3:14 ` cvs-commit at gcc dot gnu.org
2023-03-10 13:59 ` jason 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).