diff options
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); |