https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100292
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:f7ee6a1e8ac62950dd32874bf75e748a2895d595 commit r12-212-gf7ee6a1e8ac62950dd32874bf75e748a2895d595 Author: Richard Biener <rguent...@suse.de> Date: Wed Apr 28 10:41:41 2021 +0200 tree-optimization/100292 - avoid invalid GIMPLE from vector lowering We have to avoid folding the condition when building a COND_EXPR since we no longer gimplify the whole thing. The folding done at COND_EXPR build time will deal with possible simplifications. 2021-04-28 Richard Biener <rguent...@suse.de> PR tree-optimization/100292 * tree-vect-generic.c (expand_vector_condition): Do not fold the comparisons. * gcc.dg/pr100292.c: New testcase.