aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-11-16 12:21:42 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2017-11-16 11:21:42 +0000
commit8e43e9cd6064351db0015596cdafc225b75d975f (patch)
tree05c3a08f61d2a3135eadd81dd2a5e2c77a56505a /gcc/tree-cfg.c
parent62003be57dd30dbad06fb6245332ac3f2f7c7982 (diff)
downloadgcc-8e43e9cd6064351db0015596cdafc225b75d975f.zip
gcc-8e43e9cd6064351db0015596cdafc225b75d975f.tar.gz
gcc-8e43e9cd6064351db0015596cdafc225b75d975f.tar.bz2
* tree-cfg.c (gimple_find_sub_bbs): Do not compute freq.
From-SVN: r254813
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index f08a054..1772185 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -1050,7 +1050,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
{
struct omp_region *cur_region = NULL;
profile_count cnt = profile_count::zero ();
- int freq = 0;
bool all = true;
int cur_omp_region_idx = 0;
@@ -1066,7 +1065,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
cnt += e->count ();
else
all = false;
- freq += EDGE_FREQUENCY (e);
}
tree_guess_outgoing_edge_probabilities (bb);
if (all || profile_status_for_fn (cfun) == PROFILE_READ)