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

            Bug ID: 92051
           Summary: Many aarch64 SVE tests fail  with ICE  (expected
                    integer_cst, have poly_int_cst in to_wide)
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sje at gcc dot gnu.org
  Target Milestone: ---

I am seeing several hundred aarch64 sve tests fail with an ICE since Oct 8,
2019. One such failure is gcc.target/aarch64/sve/while_1.c, the ICE is:

0x6150f7 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/gcc/tree.c:9924
0x679e13 tree_int_cst_elt_check(tree_node const*, int, char const*, int, char
const*)
        ../../gcc/gcc/tree.h:3455
0x679e13 wi::to_wide(tree_node const*)
        ../../gcc/gcc/tree.h:5795
0xe89417 value_range_base::lower_bound(unsigned int) const
        ../../gcc/gcc/tree-vrp.c:6136
0xe8954f value_range_base::lower_bound(unsigned int) const
        ../../gcc/gcc/tree-vrp.c:6123
0x1412203 range_operator::fold_range(tree_node*, value_range_base const&,
value_range_base const&) const
        ../../gcc/gcc/range-op.cc:156
0xe92287 range_fold_binary_expr(value_range_base*, tree_code, tree_node*,
value_range_base const*, value_range_base const*)
        ../../gcc/gcc/tree-vrp.c:1915
0xf0ba47 vr_values::extract_range_from_binary_expr(value_range*, tree_code,
tree_node*, tree_node*, tree_node*)
        ../../gcc/gcc/vr-values.c:808
0xf126cf vr_values::extract_range_from_assignment(value_range*, gassign*)
        ../../gcc/gcc/vr-values.c:1466
0x1357e73 evrp_range_analyzer::record_ranges_from_stmt(gimple*, bool)
        ../../gcc/gcc/gimple-ssa-evrp-analyze.c:307
0xd213e7 dom_opt_dom_walker::before_dom_children(basic_block_def*)
        ../../gcc/gcc/tree-ssa-dom.c:1503
0x1331f3f dom_walker::walk(basic_block_def*)
        ../../gcc/gcc/domwalk.c:309
0xd2099f execute^M
        ../../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.
See <https://gcc.gnu.org/bugs/> for instructions

Reply via email to