* tree-ssa-threadupdate.c (create_edge_and_update_destination_phis):
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jul 2007 23:06:40 +0000 (23:06 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jul 2007 23:06:40 +0000 (23:06 +0000)
Scan the new edge for loop exit info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126934 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-threadupdate.c

index 9084dd0..ceae25b 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-25  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * tree-ssa-threadupdate.c (create_edge_and_update_destination_phis):
+       Scan the new edge for loop exit info.
+
 2007-07-25  Andreas Tobler  <a.tobler@schweiz.org>
 
        * config/darwin.c: Include debug.h.
index 1a3bad7..d6bbc68 100644 (file)
@@ -313,6 +313,7 @@ create_edge_and_update_destination_phis (struct redirection_data *rd)
   edge e = make_edge (rd->dup_block, rd->outgoing_edge->dest, EDGE_FALLTHRU);
   tree phi;
 
+  rescan_loop_exit (e, true, false);
   e->probability = REG_BR_PROB_BASE;
   e->count = rd->dup_block->count;
   e->aux = rd->outgoing_edge->aux;