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.