http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54610
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-18 16:14:58 UTC --- It is true that it has TYPE_VECTOR_SUBPARTS at its disposal, but it just uses the common vectorizer infrastructure to create vector types. The routines it is using also use other vectorizer specific stuff, like vect_print_dump_info. So, if you really want, the better way would be to create a new helper routine in tree-vect-generic.c, that would do what I've changed the routine to do, and use that routine in tree-ssa-forwprop.c and possibly in tree-vect-generic.c too.