From aa2645a07e7bd31966aadc978fb40030c93941f9 Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Thu, 26 Jul 2007 01:06:40 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-threadupdate.c | 1 + 2 files changed, 6 insertions(+) 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; -- 2.30.2