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++/108542] New: [13 Regression] ICE in instantiate_type, at cp/class.cc:8833 Date: Wed, 25 Jan 2023 17:46:48 +0000 [thread overview] Message-ID: <bug-108542-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2023-01-25 17:46 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-25 17:46 gscfq@t-online.de [this message] 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
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-108542-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).