aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-06-06 08:03:55 +0000
committerJan Hubicka <hubicka@ucw.cz>2017-06-06 08:03:55 +0000
commit6875dd019c26e35792f4accc788b9f735d8ae68b (patch)
tree9a8be5af06029d351493876b248414a7938556c3 /gcc/profile.c
parent87e1074ffded073d82d161c1e931830c0d02c6c1 (diff)
* profile.c (compute_branch_probabilities): Also initialize
EXIT_BLOCK profile. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@248910 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index 219fa8a1b83..d0dc3b835b3 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -826,7 +826,7 @@ compute_branch_probabilities (unsigned cfg_checksum, unsigned lineno_checksum)
}
}
- FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb)
+ FOR_ALL_BB_FN (bb, cfun)
{
edge e;
edge_iterator ei;