diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-02 00:12:50 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-02 00:12:50 +0000 |
commit | 6cafb80e923d83e03e2f8ac33c6a987d426adbd6 (patch) | |
tree | 4f22c96f262454dcd5fa7e0ea8d297439b65cbfe /gcc/tree-ssa-threadupdate.c | |
parent | 3d375286e0a3565ac76a832376609035fd435cf4 (diff) | |
download | gcc-6cafb80e923d83e03e2f8ac33c6a987d426adbd6.tar.gz |
* tree-ssa-dom.c (thread_across_edge): Remove updating here.
(thread_block): Add it here.
* update-threading.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102648 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 2 |
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 |