OSDN Git Service

2012-04-03 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2012 11:55:24 +0000 (11:55 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2012 11:55:24 +0000 (11:55 +0000)
commit2e01d40c05022853e73a11fc0be3b9157316dfc3
treed36065214b13201bf88239246968598402995e86
parentc748614266aa8c93c819c4b0d81338f7e465cd76
2012-04-03  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-03-06  Richard Guenther  <rguenther@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  <rguenther@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  <rguenther@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  <rguenther@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186105 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52493.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr52754.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr52678.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr52701.f90 [new file with mode: 0644]
gcc/tree-ssa-alias.c
gcc/tree-ssa-forwprop.c
gcc/tree-vect-loop-manip.c
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h