https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91242
Bug ID: 91242 Summary: ICE on aarch64 SVE tests - gcc.target/aarch64/sve/clastb_[146].c Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: sje at gcc dot gnu.org Target Milestone: --- I get ICE on these GCC tests: FAIL: gcc.target/aarch64/sve/clastb_1.c -march=armv8.2-a+sve (internal compiler error) FAIL: gcc.target/aarch64/sve/clastb_4.c -march=armv8.2-a+sve (internal compiler error) FAIL: gcc.target/aarch64/sve/clastb_6.c -march=armv8.2-a+sve (internal compiler error) After this checkin: commit 8482ddd3ae29c2c74f7e01fa0422ee697689e98c Author: marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Jun 10 07:04:39 2019 +0000 Fix build with --enable-gather-detailed-mem-stats. 2019-06-10 Martin Liska <mli...@suse.cz> * hash-map.h: Pass default value to hash_table ctor. * hash-table.h: Add default value to call of a ctor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272104 138bc75d-0d04-0410-96 1f-82ee72b054a4 Compiler executable checksum: a0a240676a930bb65e6bc0ad707e5aee hash table checking failed: equal operator returns true for a pair of values with a different hash value during GIMPLE pass: dom clastb_6.c: In function ‘condition_reduction’: clastb_6.c:13:1: internal compiler error: in hashtab_chk_error, at hash-table.c:137 13 | condition_reduction (TYPE *a, TYPE min_v) | ^~~~~~~~~~~~~~~~~~~ 0x604667 hashtab_chk_error() ../../gcc/gcc/hash-table.c:137 0xffbcaf hash_table<poly_int_cst_hasher, false, xcallocator>::verify(std::pair<tree_node*, poly_int<2u, generic_wide_int<wide_int_storage> > const*> const&, unsigned int) ../../gcc/gcc/hash-table.h:1036 0xffbcaf hash_table<poly_int_cst_hasher, false, xcallocator>::find_slot_with_hash(std::pair<tree_node*, poly_int<2u, generic_wide_int<wide_int_storage> > const*> const&, unsigned int, insert_option) ../../gcc/gcc/hash-table.h:971 0xfdeacf build_poly_int_cst(tree_node*, poly_int<2u, generic_wide_int<wide_int_ref_storage<false, true> > > const&) ../../gcc/gcc/tree.c:1681 0xfe3303 force_fit_type(tree_node*, poly_int<2u, generic_wide_int<wide_int_ref_storage<false, true> > > const&, int, bool) ../../gcc/gcc/tree.c:1445 0x92b58b int_const_binop(tree_code, tree_node const*, tree_node const*, int) ../../gcc/gcc/fold-const.c:1196 0x93e28b const_binop ../../gcc/gcc/fold-const.c:1241 0x94080f const_binop(tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/gcc/fold-const.c:1719 0x10a7de3 gimple_resimplify2 ../../gcc/gcc/gimple-match-head.c:255 0x11d122b gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) ../../gcc/gcc/gimple-match-head.c:930 0x99a14f gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) ../../gcc/gcc/gimple-fold.c:6301 0x104f6d7 vr_values::vrp_visit_assignment_or_call(gimple*, tree_node**, value_range*) ../../gcc/gcc/vr-values.c:2037 0x148ff0f evrp_range_analyzer::record_ranges_from_stmt(gimple*, bool) ../../gcc/gcc/gimple-ssa-evrp-analyze.c:299 0xeffffb record_temporary_equivalences_from_stmts_at_dest ../../gcc/gcc/tree-ssa-threadedge.c:293 0xf01543 thread_through_normal_block ../../gcc/gcc/tree-ssa-threadedge.c:1064 0xf02f6f thread_across_edge ../../gcc/gcc/tree-ssa-threadedge.c:1372 0xf038bb thread_outgoing_edges(basic_block_def*, gcond*, const_and_copies*, avail_exprs_stack*, evrp_range_analyzer*, tree_node* (*)(gimple*, gimple*, avail_exprs_stack*, basic_block_def*)) ../../gcc/gcc/tree-ssa-threadedge.c:1463 0xe0bd8b dom_opt_dom_walker::after_dom_children(basic_block_def*) ../../gcc/gcc/tree-ssa-dom.c:1549 0x1463b17 dom_walker::walk(basic_block_def*) ../../gcc/gcc/domwalk.c:354 0xe0e7bf execute ../../gcc/gcc/tree-ssa-dom.c:724 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.