projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7baeb3
)
profile.c (compute_branch_probabilities): Also initialize EXIT_BLOCK profile.
author
Jan Hubicka
<hubicka@ucw.cz>
Tue, 6 Jun 2017 08:03:55 +0000
(10:03 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Tue, 6 Jun 2017 08:03:55 +0000
(08:03 +0000)
* profile.c (compute_branch_probabilities): Also initialize
EXIT_BLOCK profile.
From-SVN: r248910
gcc/ChangeLog
patch
|
blob
|
history
gcc/profile.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 4a729fe4c7592a58fa3119cdb86840ec1872dbd9..9ffaa0ebc28277acaf1713c27c8c4765d1f78587 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+2017-06-06 Jan Hubicka <hubicka@ucw.cz>
+
+ * profile.c (compute_branch_probabilities): Also initialize
+ EXIT_BLOCK profile.
+
2017-06-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/80928
diff --git
a/gcc/profile.c
b/gcc/profile.c
index 219fa8a1b839b0cfe6905d1288020a855da33b4c..d0dc3b835b3580e7c7347d40e01d088bee7bc4e6 100644
(file)
--- 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;