summaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-09-27 16:53:35 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2018-09-27 14:53:35 +0000
commit88307040642311b32de4fb051a64ae2796e0f1dc (patch)
tree2197dd1e07229a6bbe286000068429c387d5f223 /gcc/coverage.c
parentb88da9bbd8ddec81f32bbff66c86c79c2decf546 (diff)
downloadgcc-88307040642311b32de4fb051a64ae2796e0f1dc.tar.gz
coverage.c (get_coverage_counts): Revert the formatting of missing profile opt info.
2018-09-27 Martin Liska <mliska@suse.cz> * coverage.c (get_coverage_counts): Revert the formatting of missing profile opt info. * g++.dg/pr60518.C: Add -Wno-missing-profile. * g++.dg/torture/pr59265.C: Likewise. * g++.dg/tree-prof/morefunc.C: Likewise. * g++.dg/tree-ssa/dom-invalid.C: Likewise. * gcc.dg/pr26570.c: Likewise. * gcc.dg/pr32773.c: Likewise. * gcc.dg/pr40209.c: Likewise. * gcc.dg/pr51957-1.c: Likewise. * gcc.dg/pr80747.c: Likewise. * gcc.target/aarch64/pr62262.c: Likewise. From-SVN: r264669
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r--gcc/coverage.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c
index 19c696c3493..6b45ce9085b 100644
--- a/gcc/coverage.c
+++ b/gcc/coverage.c
@@ -314,12 +314,10 @@ get_coverage_counts (unsigned counter, unsigned cfg_checksum,
dump_user_location_t loc
= dump_user_location_t::from_location_t (input_location);
dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, loc,
- "file %s not found\n",
- da_file_name);
- dump_printf (MSG_OPTIMIZED_LOCATIONS,
- (flag_guess_branch_prob
- ? "execution counts estimated\n"
- : "execution counts assumed to be zero\n"));
+ "file %s not found, %s\n", da_file_name,
+ (flag_guess_branch_prob
+ ? "execution counts estimated"
+ : "execution counts assumed to be zero"));
}
}
return NULL;