https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92924
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:5f32f9cf13f99f6295591927950aaf98aa8dba91 commit r10-6139-g5f32f9cf13f99f6295591927950aaf98aa8dba91 Author: Martin Liska <mli...@suse.cz> Date: Wed Jan 22 12:08:11 2020 +0100 Smart relaxation of TOP N counter. PR tree-optimization/92924 * profile.c (compute_value_histograms): Divide all counter values. PR tree-optimization/92924 * libgcov-driver.c (prune_topn_counter): New. (prune_counters): Likewise. (dump_one_gcov): Prune a run-time counter. * libgcov-profiler.c (__gcov_topn_values_profiler_body): For a known value, add GCOV_TOPN_VALUES to value. Otherwise, decrement all counters by one.