From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 53ACB3858C83; Mon, 27 Mar 2023 18:36:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53ACB3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679942199; bh=8rOsSigVEII+Oh5trx1Mr8cqs2d969Um08tuRQ1Ev2E=; h=From:To:Subject:Date:From; b=YoDkkHD8E1fUzGZZIj+xqNMkQQ9wH/MVoxvYCqqOlKcpI7KJmx8tsGAE4v8ZA5hjx Lh2ZjpcvLciOOCFR7eYnV3ufTUnR81PNc8Ca8KKvPZriUCnRbQqxzx4TNdx+HHBJw1 8OGFrZa9N1MbLVN6cw7eXutSLSA7vmI1y2y55Pws= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109300] New: [13 Regression] ICE in cp_finish_decl, at cp/decl.cc:8279 Date: Mon, 27 Mar 2023 18:36:38 +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=3D109300 Bug ID: 109300 Summary: [13 Regression] ICE in cp_finish_decl, at cp/decl.cc:8279 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 20230226 and 20230312 : $ cat z1.cc template auto x =3D [](){ x(); }; $ gcc-13-20230326 -c z1.cc z1.cc: In instantiation of 'auto x': z1.cc:2:16: required from here z1.cc:2:6: internal compiler error: in cp_finish_decl, at cp/decl.cc:8279 2 | auto x =3D [](){ x(); }; | ^ 0x7a8893 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../gcc/cp/decl.cc:8279 0x899b2a instantiate_body ../../gcc/cp/pt.cc:26799 0x89aa6f instantiate_decl(tree_node*, bool, bool) ../../gcc/cp/pt.cc:27121 0x7b210a maybe_instantiate_decl(tree_node*) ../../gcc/cp/decl2.cc:5448 0x7b2c62 mark_used(tree_node*, int) ../../gcc/cp/decl2.cc:5747 0x8cc5c3 finish_id_expression_1 ../../gcc/cp/semantics.cc:4269 0x8cc5c3 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kin= d*, bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int) ../../gcc/cp/semantics.cc:4411 0x853ecf cp_parser_primary_expression ../../gcc/cp/parser.cc:6149 0x856e76 cp_parser_postfix_expression ../../gcc/cp/parser.cc:7777 0x86a60f cp_parser_unary_expression ../../gcc/cp/parser.cc:9141 0x83e79f cp_parser_cast_expression ../../gcc/cp/parser.cc:10045 0x83f07f cp_parser_binary_expression ../../gcc/cp/parser.cc:10147 0x83fa74 cp_parser_assignment_expression ../../gcc/cp/parser.cc:10490 0x8411b2 cp_parser_expression ../../gcc/cp/parser.cc:10660 0x844837 cp_parser_expression_statement ../../gcc/cp/parser.cc:12816 0x851cbc cp_parser_statement ../../gcc/cp/parser.cc:12596 0x852d54 cp_parser_statement_seq_opt ../../gcc/cp/parser.cc:12967 0x852e0f cp_parser_compound_statement ../../gcc/cp/parser.cc:12919 0x853967 cp_parser_function_body ../../gcc/cp/parser.cc:25335 0x853967 cp_parser_lambda_body ../../gcc/cp/parser.cc:11837=