https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68404
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-12-15 Ever confirmed|0 |1 --- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Started with r230020: commit 77d241ed443a311c06f1c9f37071ab5d7cc5d37d Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Nov 9 12:59:17 2015 +0000 2015-11-09 Richard Biener <rguent...@suse.de> PR tree-optimization/56118 * tree-vectorizer.h (vect_find_last_scalar_stmt_in_slp): Declare. * tree-vect-slp.c (vect_find_last_scalar_stmt_in_slp): Export. * tree-vect-data-refs.c (vect_slp_analyze_node_dependences): New function. (vect_slp_analyze_data_ref_dependences): Instead of computing all dependences of the region DRs just analyze the code motions SLP vectorization will perform. Remove SLP instances that cannot have their store/load motions applied. (vect_analyze_data_refs): Allow DRs without a vectype in BB vectorization. * gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c: Adjust. To reproduce run: trippels@gcc2-power8 gcc % ../gcc/configure --enable-checking=release --with-cpu=power8 --disable-libstdcxx-pch --disable-libvtv --disable-libitm --disable-libcilkrts --disable-libssp --disable-libgomp --disable-werror --enable-multilib --enable-languages=c,c++ --with-build-config="bootstrap-lto bootstrap-O3" trippels@gcc2-power8 gcc % make -j60 BOOT_CFLAGS="-mcpu=power8 -O3 -pipe" STAGE1_CFLAGS="-mcpu=power8 -O3 -pipe" CFLAGS_FOR_TARGET="-mcpu=power8 -O3 -pipe" CXXFLAGS_FOR_TARGET="-mcpu=power8 -O3 -pipe" profiledbootstrap