diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-07-03 00:25:59 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-07-02 22:25:59 +0000 |
commit | 0de11d4dd3d06ea7a77e172290b5f9f138f3fec2 (patch) | |
tree | 50b66a0553a1ce676d3f569083f9ae07678c7798 /gcc/tree-chkp-opt.c | |
parent | d872853dce396c9848142145507043040be14c5c (diff) | |
download | gcc-0de11d4dd3d06ea7a77e172290b5f9f138f3fec2.zip gcc-0de11d4dd3d06ea7a77e172290b5f9f138f3fec2.tar.gz gcc-0de11d4dd3d06ea7a77e172290b5f9f138f3fec2.tar.bz2 |
dumpfile.c: Include profile-count.h
* dumpfile.c: Include profile-count.h
* tree-cfg.c (gimple_duplicate_sese_tail): Drop UNUSED attributes; update
profile.
(insert_cond_bb): Update profile.
* tree-cfg.h (insert_cond_bb): Update prototype.
* tree-chkp-opt.c (chkp_optimize_string_function_calls): Update.
* tree-dump.c: Do not include tree-cfg.
From-SVN: r249887
Diffstat (limited to 'gcc/tree-chkp-opt.c')
-rw-r--r-- | gcc/tree-chkp-opt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-chkp-opt.c b/gcc/tree-chkp-opt.c index a08f081..33f2a1b 100644 --- a/gcc/tree-chkp-opt.c +++ b/gcc/tree-chkp-opt.c @@ -1052,7 +1052,8 @@ chkp_optimize_string_function_calls (void) /* Split block before string function call. */ gsi_prev (&i); - check_bb = insert_cond_bb (bb, gsi_stmt (i), check); + check_bb = insert_cond_bb (bb, gsi_stmt (i), check, + profile_probability::likely ()); /* Set position for checks. */ j = gsi_last_bb (check_bb); |