diff options
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r-- | gcc/value-prof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 6011922db0a..7d6b7ddbb41 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -1146,7 +1146,7 @@ gimple_ic (gimple icall_stmt, struct cgraph_node *direct_call, icall_bb->count = all - count; /* Do not disturb existing EH edges from the indirect call. */ - if (gsi_stmt (gsi_last_bb (icall_bb)) != icall_stmt) + if (!stmt_ends_bb_p (icall_stmt)) e_ij = split_block (icall_bb, icall_stmt); else { |