From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1A6FC3858D1E; Tue, 7 Nov 2023 19:37:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A6FC3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699385865; bh=Q0d693chpNJtYo/tCLCUVsoTsxDPRKP2lDx57mvmTos=; h=From:To:Subject:Date:From; b=wDFXaXXdJjeQScLKiUwnS7KF5rgoMRGx6FPB3ck0AYg9mkPKCG8t/0OPiAEaYIJT1 7tqMBuQe/EOsQw1lCEMU8HmPDjyApjo0utnvrnWLdO19hBheg8kJXA9Jz+jo6YppP5 ljdynPdSG3OkLj01RBTlR1MT2DtWs4McERHRbRWw= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTEyNDI3XSBOZXc6IFsxNCByZWdyZXNzaW9uXSBJ?= =?UTF-8?B?Q0Ugd2hlbiBidWxpZGluZyBNaW5ldGVzdCAoaW50ZXJuYWwgY29tcGlsZXIg?= =?UTF-8?B?ZXJyb3I6IHRyZWUgY2hlY2s6IGV4cGVjdGVkIHRyZWUgdGhhdCBjb250YWlu?= =?UTF-8?B?cyDigJhkZWNsIGNvbW1vbuKAmSBzdHJ1Y3R1cmUsIGhhdmUg4oCYaWRlbnRp?= =?UTF-8?B?Zmllcl9ub2Rl4oCZIGluIGdldF9pbm5lcl9yZWZlcmVuY2UsIGF0IGV4cHIu?= =?UTF-8?B?Y2M6NzkzMSk=?= Date: Tue, 07 Nov 2023 19:37:44 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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 attachments.created 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=3D112427 Bug ID: 112427 Summary: [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains =E2=80=98decl common=E2=80=99 structure, have =E2=80=98identifier_node=E2=80=99 in get_inner_referenc= e, at expr.cc:7931) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 56525 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56525&action=3Dedit mesh.cpp.ii.xz Initially reported downstream by Toralf F=C3=B6rster in Gentoo at https://bugs.gentoo.org/916997. ``` /var/tmp/portage/games-action/minetest-5.7.0-r2/work/minetest-5.7.0/src/cli= ent/mesh.cpp: In lambda function: /var/tmp/portage/games-action/minetest-5.7.0-r2/work/minetest-5.7.0/src/cli= ent/mesh.cpp:275:40: internal compiler error: tree check: expected tree that contains =E2=80=98d= ecl common=E2=80=99 structure, have =E2=80=98identifier_node=E2=80=99 in get_inner_reference, a= t expr.cc:7931 275 | float u =3D vertex->Pos.*U; | ^ 0x5580b4a13090 tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/tree.cc= :9123 0x5580b393af18 contains_struct_check(tree_node*, tree_node_structure_enum, = char const*, int, char const*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/tree.h:= 3744 0x5580b393af18 get_inner_reference(tree_node*, poly_int<1u, long>*, poly_int<1u, long>*, tree_node**, machine_mode*, int*, int*, int*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/expr.cc= :7931 0x5580b52b06c4 fold_unary_loc(unsigned int, tree_code, tree_node*, tree_nod= e*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/fold-co= nst.cc:9498 0x5580b51ea660 fold_build1_loc(unsigned int, tree_code, tree_node*, tree_no= de*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/fold-co= nst.cc:14022 0x5580b51ea660 fold_convert_loc(unsigned int, tree_node*, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/fold-co= nst.cc:2597 0x5580b42fb5f2 build_m_component_ref(tree_node*, tree_node*, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/type= ck2.cc:2381 0x5580b3c253f8 build_x_binary_op(op_location_t const&, tree_code, tree_node= *, tree_code, tree_node*, tree_code, tree_node*, tree_node**, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/type= ck.cc:4716 0x5580b539821c cp_parser_binary_expression =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:10434 0x5580b5396f18 cp_parser_assignment_expression =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:10595 0x5580b53beb63 cp_parser_constant_expression =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:10885 0x5580b53beb63 cp_parser_initializer_clause =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:25746 0x5580b53beb63 cp_parser_initializer =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:25685 0x5580b52f0e70 cp_parser_init_declarator =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:23255 0x5580b52dfe4d cp_parser_simple_declaration =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:15649 0x5580b5453e0f cp_parser_declaration_statement =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:14730 0x5580b538bd4a cp_parser_statement =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:12686 0x5580b5387af5 cp_parser_statement_seq_opt =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:13210 0x5580b5387af5 cp_parser_compound_statement =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:13064 0x5580b539e9bf cp_parser_function_body =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/pars= er.cc:25589 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ```=