projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873fa20
)
* ipa-split.c (split_function): Initialize return bb profile.
author
Jan Hubicka
<hubicka@ucw.cz>
Tue, 6 Jun 2017 08:05:29 +0000
(10:05 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Tue, 6 Jun 2017 08:05:29 +0000
(08:05 +0000)
From-SVN: r248911
gcc/ChangeLog
patch
|
blob
|
history
gcc/ipa-split.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 9ffaa0ebc28277acaf1713c27c8c4765d1f78587..8a5960f7efbc94e00e7409cdea33a77a3c1e2cba 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2017-06-06 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-split.c (split_function): Initialize return bb profile.
+
2017-06-06 Jan Hubicka <hubicka@ucw.cz>
* profile.c (compute_branch_probabilities): Also initialize
diff --git
a/gcc/ipa-split.c
b/gcc/ipa-split.c
index 7778b9c68134ef61d99c6cfba2e02579d7db0c19..0af31d683530df0ac2c6524d61d72abf7c24853e 100644
(file)
--- a/
gcc/ipa-split.c
+++ b/
gcc/ipa-split.c
@@
-1278,6
+1278,7
@@
split_function (basic_block return_bb, struct split_point *split_point,
basic_block new_return_bb = create_basic_block (NULL, 0, return_bb);
gimple_stmt_iterator gsi = gsi_start_bb (new_return_bb);
gsi_insert_after (&gsi, gimple_build_return (NULL), GSI_NEW_STMT);
+ new_return_bb->count = profile_count::zero ();
while (redirected)
{
redirected = false;