https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128759
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|1 |0
Status|WAITING |UNCONFIRMED
Keywords|needs-source |
--- Comment #5 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Thanks, I can reproduce it on x86_64-linux-gnu (with a small change to the
preprocessed source for size_t):
during GIMPLE pass: vrp
conditional_reader.cpp: In function ‘bool PropNamesToArray(const char*,
AVSValue&, std::vector<std::__cxx11::basic_string<char> >&,
IScriptEnvironment*)’:
conditional_reader.cpp:1177:13: internal compiler error: in type, at
value-range.h:1483
0x2efd72f internal_error(char const*, ...)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:787
0xc330fb fancy_abort(char const*, int, char const*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostics/context.cc:1813
0xa1bd94 prange::type() const
/home/apinski/src/upstream-gcc-git/gcc/gcc/value-range.h:1483
0xa1bfa9 prange::type() const
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree.h:4218
0xa1bfa9 operator_pointer_diff::op1_op2_relation(irange const&, prange const&,
prange const&) const
/home/apinski/src/upstream-gcc-git/gcc/gcc/range-op-ptr.cc:545
0xa1bfa9 operator_pointer_diff::op1_op2_relation(irange const&, prange const&,
prange const&) const
/home/apinski/src/upstream-gcc-git/gcc/gcc/range-op-ptr.cc:532
0x1b49f8c dom_oracle::recomputed_relation(basic_block_def*, tree_node*,
tree_node*) const
/home/apinski/src/upstream-gcc-git/gcc/gcc/value-relation.cc:1788
0x1b4ea46 dom_oracle::relation_search(basic_block_def*, tree_node*, bitmap_head
const*, tree_node*, bitmap_head const*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/value-relation.cc:2081
0x1b4ed66 dom_oracle::query(basic_block_def*, tree_node*, tree_node*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/value-relation.cc:2134
0x1302be6 fur_stmt::query_relation(tree_node*, tree_node*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-range-fold.cc:164
0x1302be6 fold_using_range::range_of_range_op(vrange&,
gimple_range_op_handler&, fur_source&)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-range-fold.cc:841
0x13059e2 fold_using_range::fold_stmt(vrange&, gimple*, fur_source&,
tree_node*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-range-fold.cc:706
0x12eea37 gimple_ranger::fold_range_internal(vrange&, gimple*, tree_node*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-range.cc:302
0x12eea37 gimple_ranger::range_of_stmt(vrange&, gimple*, tree_node*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-range.cc:335
0x1b90d45 simplify_using_ranges::fold_cond(gcond*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/vr-values.cc:1016
0x1b954aa simplify_using_ranges::simplify_cond_using_ranges_1(gcond*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/vr-values.cc:1091
0x1ad5b72 rvrp_folder::fold_stmt(gimple_stmt_iterator*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-vrp.cc:1056
0x195177e substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-propagate.cc:872
0x2c1833e dom_walker::walk(basic_block_def*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/domwalk.cc:311
0x19504a5 substitute_and_fold_engine::substitute_and_fold(basic_block_def*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-propagate.cc:995
/home/apinski/upstream-gcc/libexec/gcc/x86_64-pc-linux-gnu/17.0.0/cc1plus
-fpreprocessed t.ii -quiet -dumpbase t.ii -dumpbase-ext .ii -march=x86-64-v3
-mtune=generic -mavx2 -mbmi -mbmi2 -mlzcnt -mfma -mmovbe -mhle -O3 -o t.s
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Reducing it now.