https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71294
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r230091 which enabled a vectorization, thus the bug looks latent: Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Nov 10 09:43:54 2015 +0000 2015-11-10 Richard Biener <rguent...@suse.de> PR tree-optimization/56118 * tree-vect-slp.c (vect_bb_vectorization_profitable_p): Make equal cost favor vectorized version. * gcc.target/i386/pr56118.c: New testcase.