http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54894
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-11 12:33:41 UTC --- I'd say the problem is that useless_type_conversion_p considers the overaligned double type compatible to double, yet get_vectype_for_scalar_type returns non-NULL for the normally aligned one and NULL for the overaligned one. During vectorizer analysis phase, we assume it is enough to call that function just for a single type for the stmt, not check all 3 types, that succeeds, but during transform phase we call it on all 3 and ICE.