https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128
--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 9 Jul 2020, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96128 > > --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- > (In reply to Richard Biener from comment #1) > > Just trace make_ssa_name ... > > So this one is leftover from gimplify.c where we expand the first argument to > assignment to a SSA NAME and so we end up only with the vector comparisons, > but > no VEC_COND_EXPR. > Would it be possible to remove the SSA_NAME in gimplify.c when we know the > VEC_COND_EXPR is expanded to no-op? Somehow switch gimplifying of the operand and evaluating "expanded to no-op", other than that, no - the gimplifier doesn't perform DCE.