https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97085
--- Comment #8 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:10843f8303509fcba880c6c05c08e4b4ccd24f36 commit r11-3426-g10843f8303509fcba880c6c05c08e4b4ccd24f36 Author: Richard Biener <rguent...@suse.de> Date: Thu Sep 24 10:14:33 2020 +0200 tree-optimization/97085 - fold some trivial bool vector ?: The following aovids the ICE in the testcase by doing some additional simplification of VEC_COND_EXPRs for VECTOR_BOOLEAN_TYPE_P which we don't really expect, esp. when they are not classical vectors, thus AVX512 or SVE masks. 2020-09-24 Richard Biener <rguent...@suse.de> PR tree-optimization/97085 * match.pd (mask ? { false,..} : { true, ..} -> ~mask): New. * gcc.dg/vect/pr97085.c: New testcase.