aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-07-01 14:31:25 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-07-01 12:31:25 +0000
commit36d95aa8913ae43c998e0917711856d307cc5f00 (patch)
tree400f5ada36f0bf4301fbc37cebca6ec74879337f /gcc/cfgrtl.c
parenta4f20288d8d42fff6bb3487aa8f56e5b9b892656 (diff)
downloadgcc-36d95aa8913ae43c998e0917711856d307cc5f00.zip
gcc-36d95aa8913ae43c998e0917711856d307cc5f00.tar.gz
gcc-36d95aa8913ae43c998e0917711856d307cc5f00.tar.bz2
cfgrtl.c (rtl_flow_call_edges_add): Update profile.
* cfgrtl.c (rtl_flow_call_edges_add): Update profile. * tree-cfg.c (gimple_flow_call_edges_add): Likewise. * profile-count.h (max_safe_multiplier): Make unsigned. (profile_count::guessed_zero): New. From-SVN: r249869
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index f2a238c..b0f9104a 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -4904,7 +4904,9 @@ rtl_flow_call_edges_add (sbitmap blocks)
blocks_split++;
}
- make_edge (bb, EXIT_BLOCK_PTR_FOR_FN (cfun), EDGE_FAKE);
+ edge ne = make_edge (bb, EXIT_BLOCK_PTR_FOR_FN (cfun), EDGE_FAKE);
+ ne->probability = profile_probability::guessed_never ();
+ ne->count = profile_count::guessed_zero ();
}
if (insn == BB_HEAD (bb))