Restore profile reproducibility.
authorMartin Liska <mliska@suse.cz>
Fri, 22 Jan 2021 10:27:16 +0000 (11:27 +0100)
committerMartin Liska <mliska@suse.cz>
Mon, 25 Jan 2021 12:30:34 +0000 (13:30 +0100)
commit5089df534b85b795bfcdca8f4f1957ad15a60558
treef21b8220b0cd8cbcba3210bd32e229a3b62cacce
parentdefc40db9e09ecceb2d71727031fe9579bce1b11
Restore profile reproducibility.

gcc/ChangeLog:

PR gcov-profile/98739
* common.opt: Add missing sign symbol.
* value-prof.c (get_nth_most_common_value): Restore handling
of PROFILE_REPRODUCIBILITY_PARALLEL_RUNS and
PROFILE_REPRODUCIBILITY_MULTITHREADED.

libgcc/ChangeLog:

PR gcov-profile/98739
* libgcov-merge.c (__gcov_merge_topn): Mark when merging
ends with a dropped counter.
* libgcov.h (gcov_topn_add_value): Add return value.
gcc/common.opt
gcc/value-prof.c
libgcc/libgcov-merge.c
libgcc/libgcov.h