tree-ssa-threadupdate.c (create_edge_and_update_destination_phis): Scan the new edge for loop exit info.

* tree-ssa-threadupdate.c (create_edge_and_update_destination_phis):
	Scan the new edge for loop exit info.

From-SVN: r126934
This commit is contained in:
Zdenek Dvorak 2007-07-26 01:06:40 +02:00 committed by Zdenek Dvorak
parent 9faca04e40
commit aa2645a07e
2 changed files with 6 additions and 0 deletions

View 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.

View 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;