aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfghooks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfghooks.cc')
-rw-r--r--gcc/cfghooks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfghooks.cc b/gcc/cfghooks.cc
index 8b33468..25bc5d4 100644
--- a/gcc/cfghooks.cc
+++ b/gcc/cfghooks.cc
@@ -819,7 +819,7 @@ merge_blocks (basic_block a, basic_block b)
/* Pick the more reliable count. If both qualities agrees, pick the larger
one since turning mistakely hot code to cold is more harmful. */
- if (a->count.initialized_p ())
+ if (!a->count.initialized_p ())
a->count = b->count;
else if (a->count.quality () < b->count.quality ())
a->count = b->count;