diff options
Diffstat (limited to 'gcc/tracer.c')
-rw-r--r-- | gcc/tracer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tracer.c b/gcc/tracer.c index 1448670ddc6..701c16a9395 100644 --- a/gcc/tracer.c +++ b/gcc/tracer.c @@ -211,7 +211,7 @@ tail_duplicate () int max_dup_insns; basic_block bb; - if (profile_info.count_profiles_merged && flag_branch_probabilities) + if (profile_info && flag_branch_probabilities) probability_cutoff = PARAM_VALUE (TRACER_MIN_BRANCH_PROBABILITY_FEEDBACK); else probability_cutoff = PARAM_VALUE (TRACER_MIN_BRANCH_PROBABILITY); @@ -232,7 +232,7 @@ tail_duplicate () weighted_insns += n * bb->frequency; } - if (profile_info.count_profiles_merged && flag_branch_probabilities) + if (profile_info && flag_branch_probabilities) cover_insns = PARAM_VALUE (TRACER_DYNAMIC_COVERAGE_FEEDBACK); else cover_insns = PARAM_VALUE (TRACER_DYNAMIC_COVERAGE); |