aboutsummaryrefslogtreecommitdiff
path: root/gcc/asan.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/asan.c')
-rw-r--r--gcc/asan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/asan.c b/gcc/asan.c
index d5128aa..cd1a561 100644
--- a/gcc/asan.c
+++ b/gcc/asan.c
@@ -1801,6 +1801,7 @@ create_cond_insert_point (gimple_stmt_iterator *iter,
? profile_probability::very_unlikely ()
: profile_probability::very_likely ();
e->probability = fallthrough_probability.invert ();
+ then_bb->count = e->count ();
if (create_then_fallthru_edge)
make_single_succ_edge (then_bb, fallthru_bb, EDGE_FALLTHRU);