From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83D213858024; Thu, 1 Apr 2021 04:51:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83D213858024 From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99861] New: [modules] ICE in hashtab_chk_error Date: Thu, 01 Apr 2021 04:51:19 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.lelyakin at googlemail dot com 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 04:51:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99861 Bug ID: 99861 Summary: [modules] ICE in hashtab_chk_error Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header latch /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cfenv /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header clocale /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cmath /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header ciso646 /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header unordered= _map /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header algorithm ---- hash table checking failed: equal operator returns true for a pair of values with a different hash value In file included from /usr/local/include/c++/11.0.1/vector:66, from /usr/local/include/c++/11.0.1/functional:62, from /usr/local/include/c++/11.0.1/pstl/glue_algorithm_defs.h:13, from /usr/local/include/c++/11.0.1/algorithm:74: /usr/local/include/c++/11.0.1/bits/stl_uninitialized.h: In static member function =E2=80=98static _ForwardIterator std::__uninitialized_copy::__uninit_copy(_InputIterator, _InputIterat= or, _ForwardIterator)=E2=80=99: /usr/local/include/c++/11.0.1/bits/stl_uninitialized.h:110:23: internal compiler error: in hashtab_chk_error, at hash-table.c:137 110 | { return std::copy(__first, __last, __result); } | ^~~~ 0x92894b hashtab_chk_error() ../../gcc/gcc/hash-table.c:137 0xb35fa5 hash_table::verify(spec_entry* const&, unsigned int) ../../gcc/gcc/hash-table.h:1033 0xb3652e hash_table::find_slot_with_hash(spec_entry* const&, unsigned int, insert_option) ../../gcc/gcc/hash-table.h:968 0xaf315b match_mergeable_specialization(bool, spec_entry*) ../../gcc/gcc/cp/pt.c:29942 0xa6cf43 trees_in::key_mergeable(int, merge_kind, tree_node*, tree_node*, tree_node*, tree_node*, bool) ../../gcc/gcc/cp/module.cc:10667 0xa70564 trees_in::decl_value() ../../gcc/gcc/cp/module.cc:7899 0xa693c7 trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9150 0xa6f9eb module_state::read_cluster(unsigned int) ../../gcc/gcc/cp/module.cc:14797 0xa6feed module_state::load_section(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18068 0xa6ffaf module_state::lazy_load(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18726 0xa6a230 trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9661 0xa6b046 trees_in::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:6662 0xa68a97 trees_in::tree_node_vals(tree_node*) ../../gcc/gcc/cp/module.cc:7057 0xa68a97 trees_in::tree_value() ../../gcc/gcc/cp/module.cc:8927 0xa68ecf trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9145 0xa6acd1 trees_in::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:6413 0xa68a97 trees_in::tree_node_vals(tree_node*) ../../gcc/gcc/cp/module.cc:7057 0xa68a97 trees_in::tree_value() ../../gcc/gcc/cp/module.cc:8927 0xa68ecf trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9145 0xa6acd1 trees_in::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:6413 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ---- g++ (GCC) 11.0.1 20210331 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=