http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51301
--- Comment #2 from irar at gcc dot gnu.org 2011-11-29 07:00:57 UTC --- Author: irar Date: Tue Nov 29 07:00:53 2011 New Revision: 181797 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181797 Log: PR tree-optimization/51301 * tree-vect-patterns.c (vect_recog_over_widening_pattern): Check that the last statement doesn't convert to a bigger type than the original type of the computation. Added: trunk/gcc/testsuite/gcc.dg/vect/pr51301.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c