[Bug tree-optimization/92173] New: [10 Regression] ICE in optab_for_tree_code, at optabs-tree.c:81
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 22 02:23:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92173
Bug ID: 92173
Summary: [10 Regression] ICE in optab_for_tree_code, at
optabs-tree.c:81
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
Target: x86_64-pc-linux-gnu
gcc-10.0.0-alpha20191020 snapshot (r277217) ICEs when compiling the following
testcase w/ -O1 -ftree-loop-vectorize:
unsigned int
yo (unsigned int o0, signed char s1)
{
for (s1 = 0; s1 < 1; s1 -= 2)
o0 += o0;
return o0 + s1;
}
% x86_64-pc-linux-gnu-gcc-10.0.0-alpha20191020 -O1 -ftree-loop-vectorize -c
bcnm9vyh.c
during GIMPLE pass: vect
bcnm9vyh.c: In function 'yo':
bcnm9vyh.c:2:1: internal compiler error: in optab_for_tree_code, at
optabs-tree.c:81
2 | yo (unsigned int o0, signed char s1)
| ^~
0x653a1a optab_for_tree_code(tree_code, tree_node const*, optab_subtype)
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/optabs-tree.c:81
0xe8b9ba vectorizable_reduction(_stmt_vec_info*, _slp_tree*, _slp_instance*,
vec<stmt_info_for_cost, va_heap, vl_ptr>*)
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:6247
0xe91fc1 vect_analyze_loop_operations
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:1560
0xe91fc1 vect_analyze_loop_2
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:2079
0xe91fc1 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*)
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:2356
0xeaaa04 try_vectorize_loop_1
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vectorizer.c:886
0xeab82d vectorize_loops()
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vectorizer.c:1114
More information about the Gcc-bugs
mailing list