diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9084dd0f586..ceae25be2f7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-07-25 Zdenek Dvorak + + * tree-ssa-threadupdate.c (create_edge_and_update_destination_phis): + Scan the new edge for loop exit info. + 2007-07-25 Andreas Tobler * config/darwin.c: Include debug.h. 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;