diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lambda-code.c | 4 |
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. */ |