http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52754
--- Comment #13 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-03 11:55:30 UTC --- Author: rguenth Date: Tue Apr 3 11:55:24 2012 New Revision: 186105 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186105 Log: 2012-04-03 Richard Guenther <rguent...@suse.de> Backport from mainline 2012-03-06 Richard Guenther <rguent...@suse.de> PR middle-end/52493 * tree-ssa-alias.c (ptr_derefs_may_alias_p): Robustify. * gcc.dg/torture/pr52493.c: New testcase. 2012-03-23 Richard Guenther <rguent...@suse.de> PR tree-optimization/52678 * tree-vectorizer.h (struct _stmt_vec_info): Add loop_phi_evolution_part member. (STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define. * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize STMT_VINFO_LOOP_PHI_EVOLUTION_PART. * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer): Use the cached evolution part and the PHI nodes value from the loop preheader edge instead of re-analyzing the evolution. * gfortran.dg/pr52678.f: New testcase. 2012-03-26 Richard Guenther <rguent...@suse.de> PR tree-optimization/52701 * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Always compute and set the evolution part of PHI nodes. * gfortran.dg/pr52701.f90: New testcase. 2012-03-30 Richard Guenther <rguent...@suse.de> PR tree-optimization/52754 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only propagate arbitrary addresses into really plain dereferences. * gcc.target/i386/pr52754.c: New testcase. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr52493.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/pr52754.c branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/pr52678.f branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/pr52701.f90 Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-ssa-alias.c branches/gcc-4_7-branch/gcc/tree-ssa-forwprop.c branches/gcc-4_7-branch/gcc/tree-vect-loop-manip.c branches/gcc-4_7-branch/gcc/tree-vect-loop.c branches/gcc-4_7-branch/gcc/tree-vectorizer.h