summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadupdate.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-08-02 02:12:50 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-08-02 00:12:50 +0000
commit5e5a504e300285125a09fb0ea3031187f98f4e68 (patch)
tree4f22c96f262454dcd5fa7e0ea8d297439b65cbfe /gcc/tree-ssa-threadupdate.c
parent4dbdb061864825507e4d964c8904c82970fcb17d (diff)
downloadgcc-5e5a504e300285125a09fb0ea3031187f98f4e68.tar.gz
tree-ssa-dom.c (thread_across_edge): Remove updating here.
* tree-ssa-dom.c (thread_across_edge): Remove updating here. (thread_block): Add it here. * update-threading.c: New test. From-SVN: r102648
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r--gcc/tree-ssa-threadupdate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c
index 6181b27978d..ab748ad7798 100644
--- a/gcc/tree-ssa-threadupdate.c
+++ b/gcc/tree-ssa-threadupdate.c
@@ -724,6 +724,8 @@ thread_block (basic_block bb)
else
{
edge e2 = e->aux;
+ update_bb_profile_for_threading (e->dest, EDGE_FREQUENCY (e),
+ e->count, e->aux);
/* If we thread to a loop exit edge, then we will need to
rediscover the loop exit edges. While it may seem that