https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052
Bug ID: 100052 Summary: [11 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:82198676c80764ca7cf05f891afaee83b9179dd1, r11-8118 I only see this on power 9 and power 10. FAIL: g++.dg/modules/xtreme-header-3_b.C -std=c++2a (internal compiler error) FAIL: g++.dg/modules/xtreme-header-3_b.C -std=c++2a (test for excess errors) hash table checking failed: equal operator returns true for a pair of values with a different hash value^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3_b.C:4:30: internal compiler error: in hashtab_chk_error, at hash-table.c:137^M 0x10291ddf hashtab_chk_error()^M /home/seurer/gcc/git/gcc-test/gcc/hash-table.c:137^M 0x10633807 hash_table<spec_hasher, false, xcallocator>::verify(spec_entry* const&, unsigned int)^M /home/seurer/gcc/git/gcc-test/gcc/hash-table.h:1033^M 0x10633fcf hash_table<spec_hasher, false, xcallocator>::find_slot_with_hash(spec_entry* const&, unsigned int, insert_option)^M /home/seurer/gcc/git/gcc-test/gcc/hash-table.h:968^M 0x105b6567 match_mergeable_specialization(bool, spec_entry*)^M /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:29974^M 0x104cf987 trees_in::key_mergeable(int, merge_kind, tree_node*, tree_node*, tree_node*, tree_node*, bool)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:10670^M 0x104c6843 trees_in::decl_value()^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:7903^M 0x104c9587 trees_in::tree_node(bool)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:9153^M 0x104d5e4b module_state::read_cluster(unsigned int)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:14811^M 0x104d6333 module_state::load_section(unsigned int, binding_slot*)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18082^M 0x104d79ef module_state::read_language(bool)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18011^M 0x104d7e6b direct_import^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18877^M 0x1055e917 cp_parser_import_declaration^M /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:13881^M 0x1058491b cp_parser_translation_unit^M /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:4907^M 0x1058491b c_parse_file()^M /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:45267^M 0x10783e1b c_common_parse_file()^M /home/seurer/gcc/git/gcc-test/gcc/c-family/c-opts.c:1218^M commit 82198676c80764ca7cf05f891afaee83b9179dd1 (HEAD) Author: Jason Merrill <ja...@redhat.com> Date: Sat Apr 10 10:55:58 2021 -0400 c++: ICE with invalid use of 'this' with static memfn [PR98800]