From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7D693858D28; Wed, 25 Jan 2023 17:46:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7D693858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674668808; bh=4dt5d24a+4m1VtfPpJJOCZOgHLQP7GmsnYaCTmPvmGw=; h=From:To:Subject:Date:From; b=tIbOGkPQFfJ4VtqN+rjo/+YktLw3/Ibw/wOQtOmxSTRel3mM8tViwjW2agUH1UdvE l9DY9mb0aRC5wdZ/gFXe+nKAq64iRrLSxVe5t7pme/Hd4BRDPzyQm33keXdjja0JRX Ji64zlcS2Uwuo3RLnzHTebUPvxPeGTxpLdtGxOP0= From: "gscfq@t-online.de" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108542 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 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=