This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37150] basic-block vectorization misses some unrolled loops
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Nov 2016 12:56:29 +0000
- Subject: [Bug middle-end/37150] basic-block vectorization misses some unrolled loops
- Auto-submitted: auto-generated
- References: <bug-37150-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37150
--- Comment #27 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #26 from Richard Biener <rguenth at gcc dot gnu.org> ---
> I believe that https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00686.html will
> fix this (currently in testing).
While it fixes the failures on sparc, it introduces a couple of ICEs on
previously working testcases, both i386-pc-solaris2.12 and
sparc-sun-solaris2.12, 32 and 64-bit, e.g.
FAIL: gcc.dg/vect/bb-slp-24.c (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/bb-slp-24.c:11:6:
internal compiler error: tree check: expected class 'expression', have
'exceptional' (ssa_name) in tree_operand_check, at tree.h:3543
0xcad8f3 tree_class_check_failed(tree_node const*, tree_code_class, char
const*, int, char const*)
/vol/gcc/src/hg/trunk/local/gcc/tree.c:9814
0x104122b expr_check(tree_node*, char const*, int, char const*)
/vol/gcc/src/hg/trunk/local/gcc/tree.h:3214
0x104122b tree_operand_check(tree_node*, int, char const*, int, char const*)
0x104122b tree_operand_check(tree_node*, int, char const*, int, char const*)
/vol/gcc/src/hg/trunk/local/gcc/tree.h:3543
0x104122b vect_compute_data_ref_alignment(data_reference*)
/vol/gcc/src/hg/trunk/local/gcc/tree-vect-data-refs.c:816
0x10423e3 vect_slp_analyze_and_verify_node_alignment
/vol/gcc/src/hg/trunk/local/gcc/tree-vect-data-refs.c:2148
0x1042537 vect_slp_analyze_and_verify_instance_alignment(_slp_instance*)
/vol/gcc/src/hg/trunk/local/gcc/tree-vect-data-refs.c:2180
0xc805d3 vect_slp_analyze_bb_1
/vol/gcc/src/hg/trunk/local/gcc/tree-vect-slp.c:2677
0xc805d3 vect_slp_bb(basic_block_def*)
/vol/gcc/src/hg/trunk/local/gcc/tree-vect-slp.c:2790
0xc82cfb execute
/vol/gcc/src/hg/trunk/local/gcc/tree-vectorizer.c:794
Rainer