lambda-code.c (perfect_nestify): Call update_stmt on the exit condition.
authorDaniel Berlin <dberlin@dberlin.org>
Wed, 25 May 2005 14:05:22 +0000 (14:05 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Wed, 25 May 2005 14:05:22 +0000 (14:05 +0000)
2005-05-25  Daniel Berlin <dberlin@dberlin.org>

* lambda-code.c (perfect_nestify): Call update_stmt on the exit
condition.

From-SVN: r100150

gcc/ChangeLog
gcc/lambda-code.c

index 6f41c3479a006fafde06daf6ba1beb42827e4c51..d9cc051a692a286ac3d11764648ed7922db90b5a 100644 (file)
@@ -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
index 940f7470afe2ddc95c99de10ca717f00faf9dba9..13115b0df59aaa7402f7c99a6fba799d093d27e0 100644 (file)
@@ -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.  */