On 26/05/2021 13:22, Uros Bizjak via Gcc wrote:
The build currently fails to build for me on x86_64 in fixincludes:

/home/uros/gcc-build/./gcc/xgcc -B/home/uros/gcc-build/./gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/
-B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem
/usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include    -c -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
-I../../git/gcc/fixincludes -I../include
-I../../git/gcc/fixincludes/../include
../../git/gcc/fixincludes/fixtests.c
during GIMPLE pass: evrp
../../git/gcc/fixincludes/fixtests.c: In function ‘run_test’:
../../git/gcc/fixincludes/fixtests.c:155:1: internal compiler error:
in operator[], at vec.h:890
  155 | }
      | ^

Same failure on arm.

R.

0x7e4ed0 vec<tree_node*, va_gc, vl_embed>::operator[](unsigned int)
        ../../git/gcc/gcc/vec.h:890
0x7e509e vec<range_def_chain::rdc, va_heap, vl_embed>::operator[](unsigned int)
        ../../git/gcc/gcc/tree.h:3366
0x7e509e vec<range_def_chain::rdc, va_heap, vl_ptr>::operator[](unsigned int)
        ../../git/gcc/gcc/vec.h:1461
0x7e509e range_def_chain::register_dependency(tree_node*, tree_node*,
basic_block_def*)
        ../../git/gcc/gcc/gimple-range-gori.cc:179
0x1825ffc fold_using_range::range_of_range_op(irange&, gimple*, fur_source&)
        ../../git/gcc/gcc/gimple-range.cc:439
0x18292c5 fold_using_range::fold_stmt(irange&, gimple*, fur_source&, tree_node*)
        ../../git/gcc/gcc/gimple-range.cc:376
0x18295e2 gimple_ranger::fold_range_internal(irange&, gimple*, tree_node*)
        ../../git/gcc/gcc/gimple-range.cc:1067
0x18295e2 gimple_ranger::range_of_stmt(irange&, gimple*, tree_node*)
        ../../git/gcc/gcc/gimple-range.cc:1097
0x18256ca gimple_ranger::range_of_expr(irange&, tree_node*, gimple*)
        ../../git/gcc/gcc/gimple-range.cc:980
0x1825e07 fold_using_range::range_of_range_op(irange&, gimple*, fur_source&)
        ../../git/gcc/gcc/gimple-range.cc:431
0x18292c5 fold_using_range::fold_stmt(irange&, gimple*, fur_source&, tree_node*)
        ../../git/gcc/gcc/gimple-range.cc:376
0x18295e2 gimple_ranger::fold_range_internal(irange&, gimple*, tree_node*)
        ../../git/gcc/gcc/gimple-range.cc:1067
0x18295e2 gimple_ranger::range_of_stmt(irange&, gimple*, tree_node*)
        ../../git/gcc/gcc/gimple-range.cc:1097
0x18256ca gimple_ranger::range_of_expr(irange&, tree_node*, gimple*)
        ../../git/gcc/gcc/gimple-range.cc:980
0x110a121 range_query::value_of_expr(tree_node*, gimple*)
        ../../git/gcc/gcc/value-query.cc:86
0x1834491 hybrid_folder::value_of_expr(tree_node*, gimple*)
        ../../git/gcc/gcc/gimple-ssa-evrp.c:235
0xfb9d33 substitute_and_fold_engine::replace_uses_in(gimple*)
        ../../git/gcc/gcc/tree-ssa-propagate.c:575
0xfba04c substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
        ../../git/gcc/gcc/tree-ssa-propagate.c:845
0x17fb85f dom_walker::walk(basic_block_def*)
        ../../git/gcc/gcc/domwalk.c:309
0xfb94d5 substitute_and_fold_engine::substitute_and_fold(basic_block_def*)
        ../../git/gcc/gcc/tree-ssa-propagate.c:987
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.
make: *** [Makefile:76: fixtests.o] Error 1

Is this known failure?

Uros.

Reply via email to