summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-25 14:05:22 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-25 14:05:22 +0000
commit7246b04bcda20174fd215588e765063fc11d88fc (patch)
treeeb1040b5092e7adeb78e7793cfa6ea7b53a35b71
parent045373eb5b873f0feabe3fa193813ffe53b23e27 (diff)
downloadgcc-7246b04bcda20174fd215588e765063fc11d88fc.tar.gz
2005-05-25 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (perfect_nestify): Call update_stmt on the exit condition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100150 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lambda-code.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f41c3479a0..d9cc051a692 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-25 Daniel Berlin <dberlin@dberlin.org>
+
+ * lambda-code.c (perfect_nestify): Call update_stmt on the exit
+ condition.
+
2005-05-25 Adrian Straetling <straetling@de.ibm.com>
* config/s390/s390.c (TARGET_INSN_VALID_WITHIN_DOLOOP): Set to
diff --git a/gcc/lambda-code.c b/gcc/lambda-code.c
index 940f7470afe..13115b0df59 100644
--- a/gcc/lambda-code.c
+++ b/gcc/lambda-code.c
@@ -2416,12 +2416,12 @@ perfect_nestify (struct loops *loops,
bsi_insert_after (&bsi, stmt, BSI_SAME_STMT);
else
bsi_insert_before (&bsi, stmt, BSI_SAME_STMT);
-
+ update_stmt (stmt);
COND_EXPR_COND (exit_condition) = build (GE_EXPR,
boolean_type_node,
uboundvar,
ivvarinced);
-
+ update_stmt (exit_condition);
bbs = get_loop_body (loop);
/* Now replace the induction variable in the moved statements with the
correct loop induction variable. */