[Bug tree-optimization/56695] [4.9 Regression] ICE in expand_vec_cond_expr, at optabs.c:6751

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 26 15:20:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56695

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-03-26 15:20:34 UTC ---
vectorizable_condition gets this stmt:
patt_10 = i.1_17 == 0 ? 1 : 0;

We can't do just
  if (TYPE_UNSIGNED (TREE_TYPE (vectype)))
    return false;
which quashes the ICE because that prevents also vectorizing a lot of other
things ...



More information about the Gcc-bugs mailing list