diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-05-25 14:05:22 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-05-25 14:05:22 +0000 |
commit | 14ac4d9143f1249b0c415741a6a20311666b9afe (patch) | |
tree | eb1040b5092e7adeb78e7793cfa6ea7b53a35b71 | |
parent | 5c0d254da60c9124946d61d86e6a244d40e3f9f3 (diff) | |
download | gcc-14ac4d9143f1249b0c415741a6a20311666b9afe.zip gcc-14ac4d9143f1249b0c415741a6a20311666b9afe.tar.gz gcc-14ac4d9143f1249b0c415741a6a20311666b9afe.tar.bz2 |
lambda-code.c (perfect_nestify): Call update_stmt on the exit condition.
2005-05-25 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (perfect_nestify): Call update_stmt on the exit
condition.
From-SVN: r100150
-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 6f41c34..d9cc051 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 940f747..13115b0 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. */ |