aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-06-09 13:45:46 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-06-09 11:45:46 +0000
commitf05d82a711d37d7958b6eda223f7afedb3eb5837 (patch)
treeb2ee06fe355e71ba17a03c2c4f1f46c767a4f60a /gcc/profile.c
parentffb9d1b140d2bd299642c001c1a79de4c2c81871 (diff)
downloadgcc-f05d82a711d37d7958b6eda223f7afedb3eb5837.zip
gcc-f05d82a711d37d7958b6eda223f7afedb3eb5837.tar.gz
gcc-f05d82a711d37d7958b6eda223f7afedb3eb5837.tar.bz2
profile.c (edge_gcov_counts): Turn to pointer.
* profile.c (edge_gcov_counts): Turn to pointer. (compute_branch_probabilities, compute_branch_probabilities): Update. (branch_prob): Do not clear edge_gcov_count. * profile.h (edge_gcov_counts): Turn to pointer. (edge_gcov_count): Update. From-SVN: r249057
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index d6f2084..69a2c47 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -1149,7 +1149,6 @@ branch_prob (void)
for (i = 0 ; i < num_edges ; i++)
{
edge e = INDEX_EDGE (el, i);
- edge_gcov_count (e) = 0;
/* Mark edges we've replaced by fake edges above as ignored. */
if ((e->flags & (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL))