https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64495
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Feb 24 14:05:46 2015 New Revision: 220940 URL: https://gcc.gnu.org/viewcvs?rev=220940&root=gcc&view=rev Log: 2015-02-24 Richard Biener <rguent...@suse.de> Backport from mainline 2014-12-09 Richard Biener <rguent...@suse.de> PR middle-end/64199 * fold-const.c (fold_binary_loc): Use TREE_OVERFLOW_P. * gcc.dg/torture/pr64199.c: New testcase. 2015-01-14 Richard Biener <rguent...@suse.de> PR tree-optimization/64493 PR tree-optimization/64495 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions assign the proper vectorized PHI to the inner loop exit PHIs. * gcc.dg/vect/pr64493.c: New testcase. * gcc.dg/vect/pr64495.c: Likewise. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr64199.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr64493.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr64495.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/fold-const.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/gcc/tree-vect-loop.c