https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61969
--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Nov 26 13:15:16 2014 New Revision: 218079 URL: https://gcc.gnu.org/viewcvs?rev=218079&root=gcc&view=rev Log: 2014-11-26 Richard Biener <rguent...@suse.de> Backport from mainline 2014-10-08 Richard Biener <rguent...@suse.de> PR tree-optimization/61969 * tree-nrv.c (pass_nrv::execute): Properly test for automatic variables. 2014-08-15 Richard Biener <rguent...@suse.de> PR tree-optimization/62031 * tree-data-ref.c (dr_analyze_indices): Do not set DR_UNCONSTRAINED_BASE. (dr_may_alias_p): All indirect accesses have to go the formerly DR_UNCONSTRAINED_BASE path. * tree-data-ref.h (struct indices): Remove unconstrained_base member. (DR_UNCONSTRAINED_BASE): Remove. * gcc.dg/torture/pr62031.c: New testcase. 2014-10-10 Richard Biener <rguent...@suse.de> PR tree-optimization/63379 * tree-vect-slp.c (vect_get_constant_vectors): Do not compute a neutral operand for min/max when it is not a reduction chain. * gcc.dg/vect/pr63379.c: New testcase. 2014-11-07 Richard Biener <rguent...@suse.de> PR tree-optimization/63605 * fold-const.c (fold_binary_loc): Properly use element_precision for types that may not be scalar. * gcc.dg/vect/pr63605.c: New testcase. 2014-10-28 Richard Biener <rguent...@suse.de> PR middle-end/63665 * fold-const.c (fold_comparison): Properly guard simplifying against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS. * gcc.dg/pr63665.c: New testcase. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr63665.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr62031.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr63379.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr63605.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-data-ref.c branches/gcc-4_8-branch/gcc/tree-data-ref.h branches/gcc-4_8-branch/gcc/tree-nrv.c branches/gcc-4_8-branch/gcc/tree-vect-slp.c