diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-11-16 12:21:42 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-11-16 11:21:42 +0000 |
commit | 8e43e9cd6064351db0015596cdafc225b75d975f (patch) | |
tree | 05c3a08f61d2a3135eadd81dd2a5e2c77a56505a | |
parent | 62003be57dd30dbad06fb6245332ac3f2f7c7982 (diff) | |
download | gcc-8e43e9cd6064351db0015596cdafc225b75d975f.zip gcc-8e43e9cd6064351db0015596cdafc225b75d975f.tar.gz gcc-8e43e9cd6064351db0015596cdafc225b75d975f.tar.bz2 |
* tree-cfg.c (gimple_find_sub_bbs): Do not compute freq.
From-SVN: r254813
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-cfg.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c1944e..eaf4c8e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-11-16 Jan Hubicka <hubicka@ucw.cz> + + * tree-cfg.c (gimple_find_sub_bbs): Do not compute freq. + 2017-11-14 Jan Hubicka <hubicka@ucw.cz> * cfg.c (scale_bbs_frequencies_int, 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) |