aboutsummaryrefslogtreecommitdiff
path: root/gcc/lambda-code.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2005-05-25 14:05:22 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2005-05-25 14:05:22 +0000
commit14ac4d9143f1249b0c415741a6a20311666b9afe (patch)
treeeb1040b5092e7adeb78e7793cfa6ea7b53a35b71 /gcc/lambda-code.c
parent5c0d254da60c9124946d61d86e6a244d40e3f9f3 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/lambda-code.c')
-rw-r--r--gcc/lambda-code.c4
1 files changed, 2 insertions, 2 deletions
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. */