[Bug c++/100131] New: [meta-bug] internal compiler error: in hashtab_chk_error, at hash-table.c:137

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 17 13:45:43 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100131

            Bug ID: 100131
           Summary: [meta-bug] internal compiler error: in
                    hashtab_chk_error, at hash-table.c:137
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
            Blocks: 100002, 91190, 93907, 97093, 99445
  Target Milestone: ---

hash table checking failed: equal operator returns true for a pair of values
with a different hash value
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/g++.dg/modules/xtreme-tr1_b.C:4:25:
internal compiler error: in hashtab_chk_error, at hash-table.c:137
0x8f2583 hashtab_chk_error()
        /export/gnu/import/git/sources/gcc/gcc/hash-table.c:137
0xb01265 hash_table<spec_hasher, false, xcallocator>::verify(spec_entry*
const&, unsigned int)
        /export/gnu/import/git/sources/gcc/gcc/hash-table.h:1033
0xb017ee hash_table<spec_hasher, false,
xcallocator>::find_slot_with_hash(spec_entry* const&, unsigned int,
insert_option)
        /export/gnu/import/git/sources/gcc/gcc/hash-table.h:968
0xabe57b match_mergeable_specialization(bool, spec_entry*)
        /export/gnu/import/git/sources/gcc/gcc/cp/pt.c:29961
0xa37998 trees_in::key_mergeable(int, merge_kind, tree_node*, tree_node*,
tree_node*, tree_node*, bool)
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:10670
0xa3b594 trees_in::decl_value()
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:7903
0xa343f7 trees_in::tree_node(bool)
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:9153
0xa3aa1b module_state::read_cluster(unsigned int)
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:14811
0xa3af1d module_state::load_section(unsigned int, binding_slot*)
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:18082
0xa3d6b5 module_state::read_language(bool)
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:18011
0xa3d87e direct_import
        /export/gnu/import/git/sources/gcc/gcc/cp/module.cc:18877
0xaa4f97 cp_parser_translation_unit
        /export/gnu/import/git/sources/gcc/gcc/cp/parser.c:4907
0xaa4f97 c_parse_file()
        /export/gnu/import/git/sources/gcc/gcc/cp/parser.c:45268
0xbc9a9d c_common_parse_file()
        /export/gnu/import/git/sources/gcc/gcc/c-family/c-opts.c:1218
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91190
[Bug 91190] [10 Regression] ICE on valid code: in hashtab_chk_error, at
hash-table.c:137
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93907
[Bug 93907] [10 Regression] internal compiler error: in hashtab_chk_error, at
hash-table.c:137
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97093
[Bug 97093] ICE on C++20 code when chaining requirements (in hashtab_chk_error,
at hash-table.c:137)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99445
[Bug 99445] [11 Regression] ICE in hashtab_chk_error, at hash-table.c:137 since
r11-7011-g6e0a231a4aa2407b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100002
[Bug 100002] internal compiler error: in hashtab_chk_error, at hash-table.c:137


More information about the Gcc-bugs mailing list