This breaks aarch64.

spawn -ignore SIGHUP /opt/gcc/test/Build/gcc/xgcc -B/opt/gcc/test/Build/gcc/ 
-mabi=lp64 -fdiagnostics-plain-output -march=armv8.2-a+sve -O3 --save-temps 
-ffat-lto-objects -fno-ident -c -o abs_1.o 
/opt/gcc/test/gcc/testsuite/gcc.target/aarch64/sve/abs_1.c
during GIMPLE pass: dom
/opt/gcc/test/gcc/testsuite/gcc.target/aarch64/sve/abs_1.c: In function 
'vneg_int8_t':
/opt/gcc/test/gcc/testsuite/gcc.target/aarch64/sve/abs_1.c:13:6: internal 
compiler error: tree check: expected integer_cst, have poly_int_cst in to_wide, 
at tree.h:5950
0x6743ab tree_check_failed(tree_node const*, char const*, int, char const*, ...)
        ../../gcc/tree.c:9752
0x674f3b tree_int_cst_elt_check(tree_node const*, int, char const*, int, char 
const*)
        ../../gcc/tree.h:3502
0x1033d67 tree_int_cst_elt_check(tree_node const*, int, char const*, int, char 
const*)
        ../../gcc/tree.h:3437
0x1033d67 wi::to_wide(tree_node const*)
        ../../gcc/tree.h:5951
0x1033d67 irange::legacy_lower_bound(unsigned int) const
        ../../gcc/value-range.cc:420
0x103ad23 irange::lower_bound(unsigned int) const
        ../../gcc/value-range.h:497
0x183154f range_operator::fold_range(irange&, tree_node*, irange const&, irange 
const&) const
        ../../gcc/range-op.cc:159
0xfeae4b range_fold_binary_expr(int_range<1u>*, tree_code, tree_node*, 
int_range<1u> const*, int_range<1u> const*)
        ../../gcc/tree-vrp.c:1243
0x107dcaf vr_values::extract_range_from_binary_expr(value_range_equiv*, 
tree_code, tree_node*, tree_node*, tree_node*)
        ../../gcc/vr-values.c:853
0x1086917 vr_values::extract_range_from_assignment(value_range_equiv*, gassign*)
        ../../gcc/vr-values.c:1561
0x1747eb3 evrp_range_analyzer::record_ranges_from_stmt(gimple*, bool)
        ../../gcc/gimple-ssa-evrp-analyze.c:304
0xe3b047 dom_opt_dom_walker::before_dom_children(basic_block_def*)
        ../../gcc/tree-ssa-dom.c:1458
0x170cf7f dom_walker::walk(basic_block_def*)
        ../../gcc/domwalk.c:309
0xe38b03 execute
        ../../gcc/tree-ssa-dom.c:724

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to