summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadupdate.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 23:06:40 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 23:06:40 +0000
commitf9614b842c73314c0767c8d527b074f1f839aef6 (patch)
treeea561e6c10a816318ae06233c7a58fe0668f4192 /gcc/tree-ssa-threadupdate.c
parentcf75691440a6e025679db7b487ac019318506d90 (diff)
downloadgcc-f9614b842c73314c0767c8d527b074f1f839aef6.tar.gz
* tree-ssa-threadupdate.c (create_edge_and_update_destination_phis):
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
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r--gcc/tree-ssa-threadupdate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c
index 1a3bad74ab4..d6bbc68a2b5 100644
--- a/gcc/tree-ssa-threadupdate.c
+++ b/gcc/tree-ssa-threadupdate.c
@@ -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;