diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-06-06 08:03:55 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2017-06-06 08:03:55 +0000 |
commit | 6875dd019c26e35792f4accc788b9f735d8ae68b (patch) | |
tree | 9a8be5af06029d351493876b248414a7938556c3 /gcc/profile.c | |
parent | 87e1074ffded073d82d161c1e931830c0d02c6c1 (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.c | 2 |
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; |