[Bug tree-optimization/56695] ICE in expand_vec_cond_expr, at optabs.c:6751
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 23 17:04:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56695
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> 2013-03-23 17:04:47 UTC ---
In tree-vect-stmts.c:
if (!INTEGRAL_TYPE_P (TREE_TYPE (vectype)))
{
unsigned int prec = GET_MODE_BITSIZE (TYPE_MODE (TREE_TYPE (vectype)));
tree cmp_type = build_nonstandard_integer_type (prec, 1);
vec_cmp_type = get_same_sized_vectype (cmp_type, vectype);
if (vec_cmp_type == NULL_TREE)
return false;
}
It doesn't check if vectype is signed, and anyway it explicitly asks for an
unsigned type. Changing those 2 things seems to help. I am away next week,
can't try a patch now.
More information about the Gcc-bugs
mailing list