http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60656
--- Comment #8 from Cong Hou <congh at gcc dot gnu.org> --- Author: congh Date: Sat Apr 5 01:27:21 2014 New Revision: 209138 URL: http://gcc.gnu.org/viewcvs?rev=209138&root=gcc&view=rev Log: 2014-04-04 Cong Hou <co...@google.com> PR tree-optimization/60656 * tree-vect-stmts.c (supportable_widening_operation): Fix a bug that elements in a vector with vect_used_by_reduction property are incorrectly reordered when the operation on it is not consistant with the one in reduction operation. 2014-04-04 Cong Hou <co...@google.com> PR tree-optimization/60656 * gcc.dg/vect/pr60656.c: New test. Added: trunk/gcc/testsuite/gcc.dg/vect/pr60656.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c