[Bug tree-optimization/98107] [11 regression] ICE at hash-table.c:137 starting with r11-5663
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 3 08:14:58 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98107
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-12-03
Status|UNCONFIRMED |NEW
CC| |marxin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Nice bug report, started with r11-5663-g329ae1d7751346ba with:
$ g++ -c
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/template/canon-type-4.C
-fchecking=2 --param=hash-table-verification-limit=10000000
hash table checking failed: equal operator returns true for a pair of values
with a different hash value
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/template/canon-type-4.C:18:9:
internal compiler error: in hashtab_chk_error, at hash-table.c:137
18 | B<Y[2]> b;
| ^
0x8bbfb6 hashtab_chk_error()
/home/marxin/Programming/gcc/gcc/hash-table.c:137
0xa8a52d hash_table<spec_hasher, false, xcallocator>::verify(spec_entry*
const&, unsigned int)
/home/marxin/Programming/gcc/gcc/hash-table.h:1033
0xa8a67f hash_table<spec_hasher, false,
xcallocator>::find_with_hash(spec_entry* const&, unsigned int)
/home/marxin/Programming/gcc/gcc/hash-table.h:918
0xa7794d lookup_template_class_1
/home/marxin/Programming/gcc/gcc/cp/pt.c:9834
0xa79dde lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
/home/marxin/Programming/gcc/gcc/cp/pt.c:10190
0xa79dde tsubst_aggr_type
/home/marxin/Programming/gcc/gcc/cp/pt.c:13492
0xa74fe4 coerce_template_parms
/home/marxin/Programming/gcc/gcc/cp/pt.c:8934
0xa77861 lookup_template_class_1
/home/marxin/Programming/gcc/gcc/cp/pt.c:9802
0xa7964c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
/home/marxin/Programming/gcc/gcc/cp/pt.c:10190
0xaa063b finish_template_type(tree_node*, tree_node*, int)
/home/marxin/Programming/gcc/gcc/cp/semantics.c:3442
0xa18b11 cp_parser_template_id
/home/marxin/Programming/gcc/gcc/cp/parser.c:16994
0xa18cfc cp_parser_class_name
/home/marxin/Programming/gcc/gcc/cp/parser.c:24216
0xa14c45 cp_parser_qualifying_entity
/home/marxin/Programming/gcc/gcc/cp/parser.c:6864
0xa14c45 cp_parser_nested_name_specifier_opt
/home/marxin/Programming/gcc/gcc/cp/parser.c:6546
0xa1ee73 cp_parser_nested_name_specifier
/home/marxin/Programming/gcc/gcc/cp/parser.c:6790
0xa1ee73 cp_parser_using_declaration
/home/marxin/Programming/gcc/gcc/cp/parser.c:20133
0xa2d7f5 cp_parser_member_declaration
/home/marxin/Programming/gcc/gcc/cp/parser.c:25451
0x9fff48 cp_parser_member_specification_opt
/home/marxin/Programming/gcc/gcc/cp/parser.c:25313
0x9fff48 cp_parser_class_specifier_1
/home/marxin/Programming/gcc/gcc/cp/parser.c:24402
0xa02323 cp_parser_class_specifier
/home/marxin/Programming/gcc/gcc/cp/parser.c:24713
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.
More information about the Gcc-bugs
mailing list