re PR tree-optimization/50213 (Regression in space-optimized code relative to 4.5.x)
authorRichard Guenther <rguenther@suse.de>
Wed, 7 Sep 2011 11:28:39 +0000 (11:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 7 Sep 2011 11:28:39 +0000 (11:28 +0000)
commit601f64e2e91c232210796cce3bc12a2e19a36ff2
treec6bedca9793378da04071c4b6c255b9f6de8eec4
parent1aeee5ad50a46b9104eb9430054ff1d76dd5fe42
re PR tree-optimization/50213 (Regression in space-optimized code relative to 4.5.x)

2011-09-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50213
* tree-flow.h (simple_iv_increment_p): Declare.
* tree-ssa-dom.c (simple_iv_increment_p): Export.  Also handle
POINTER_PLUS_EXPR.
* tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Do
not propagate simple IV counter increments.

From-SVN: r178633
gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-ssa-dom.c
gcc/tree-ssa-forwprop.c