aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@gcc.gnu.org>2005-02-25 17:09:12 +0000
committerZdenek Dvorak <rakdver@gcc.gnu.org>2005-02-25 17:09:12 +0000
commit9e22cddd6f76ca9e13c289ee325c3690ca23152e (patch)
treef39544a745233c9e0fa1a24dd0dd9ad7b510c101
parent9e7376e5952775dca8267df699af56fb53e69739 (diff)
downloadgcc-9e22cddd6f76ca9e13c289ee325c3690ca23152e.zip
gcc-9e22cddd6f76ca9e13c289ee325c3690ca23152e.tar.gz
gcc-9e22cddd6f76ca9e13c289ee325c3690ca23152e.tar.bz2
tree-ssa-dom.c (simple_iv_increment_p): New function.
* tree-ssa-dom.c (simple_iv_increment_p): New function. (simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations): Do not propagate value of iv before increment over the increment. From-SVN: r95540
-rw-r--r--gcc/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ef164be..00e185a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2005-02-25 Zdenek Dvorak <dvorakz@suse.cz>
+ * tree-ssa-dom.c (simple_iv_increment_p): New function.
+ (simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
+ Do not propagate value of iv before increment over the increment.
+
+2005-02-25 Zdenek Dvorak <dvorakz@suse.cz>
+
PR tree-optimization/19937
* tree-ssa-loop-ivopts.c (rewrite_use_compare): Cast the final value
to the type of the induction variable.