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 25bc5d4..01169e2 100644
--- a/gcc/cfghooks.cc
+++ b/gcc/cfghooks.cc
@@ -824,7 +824,7 @@ merge_blocks (basic_block a, basic_block b)
else if (a->count.quality () < b->count.quality ())
a->count = b->count;
else if (a->count.quality () == b->count.quality ())
- a->count = a->count.max (b->count);
+ a->count = profile_count::max_prefer_initialized (a->count, b->count);
cfg_hooks->merge_blocks (a, b);