diff options
author | Richard Guenther <rguenther@suse.de> | 2011-09-07 11:28:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-09-07 11:28:39 +0000 |
commit | 601f64e2e91c232210796cce3bc12a2e19a36ff2 (patch) | |
tree | c6bedca9793378da04071c4b6c255b9f6de8eec4 /gcc/tree-flow.h | |
parent | 1aeee5ad50a46b9104eb9430054ff1d76dd5fe42 (diff) | |
download | gcc-601f64e2e91c232210796cce3bc12a2e19a36ff2.zip gcc-601f64e2e91c232210796cce3bc12a2e19a36ff2.tar.gz gcc-601f64e2e91c232210796cce3bc12a2e19a36ff2.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 28c0d8a..d4bf54c 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -597,6 +597,7 @@ extern void dump_dominator_optimization_stats (FILE *); extern void debug_dominator_optimization_stats (void); int loop_depth_of_name (tree); tree degenerate_phi_result (gimple); +bool simple_iv_increment_p (gimple); /* In tree-ssa-copy.c */ extern void propagate_value (use_operand_p, tree); |