https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59990
--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Jun 10 12:53:09 2015 New Revision: 224327 URL: https://gcc.gnu.org/viewcvs?rev=224327&root=gcc&view=rev Log: 2015-06-10 Richard Biener <rguent...@suse.de> Backport from mainline 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. * gcc.dg/vect/pr60656.c: New test. 2014-01-31 Richard Biener <rguent...@suse.de> PR middle-end/59990 * builtins.c (fold_builtin_memory_op): Make sure to not use a floating-point mode or a boolean or enumeral type for the copy operation. * gcc.dg/torture/pr59990.c: New testcase. * gcc.target/i386/pr49168-1.c: Adjust. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr59990.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr60656.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/builtins.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr49168-1.c branches/gcc-4_8-branch/gcc/tree-vect-stmts.c