From 14ac4d9143f1249b0c415741a6a20311666b9afe Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Wed, 25 May 2005 14:05:22 +0000 Subject: [PATCH] lambda-code.c (perfect_nestify): Call update_stmt on the exit condition. 2005-05-25 Daniel Berlin * lambda-code.c (perfect_nestify): Call update_stmt on the exit condition. From-SVN: r100150 --- gcc/ChangeLog | 5 +++++ 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 + + * lambda-code.c (perfect_nestify): Call update_stmt on the exit + condition. + 2005-05-25 Adrian Straetling * 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. */ -- 2.30.2