https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85934
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon May 28 10:28:38 2018 New Revision: 260847 URL: https://gcc.gnu.org/viewcvs?rev=260847&root=gcc&view=rev Log: 2018-05-28 Richard Biener <rguent...@suse.de> PR tree-optimization/85934 * tree-vect-generic.c (expand_vector_operations_1): Hoist vector boolean check before scalar optimization. * gcc.target/i386/pr85934.c: New testcase. Added: trunk/gcc/testsuite/gcc.target/i386/pr85934.c Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-generic.c