Fix TOP N counter update.
authorMartin Liska <mliska@suse.cz>
Wed, 22 Jan 2020 12:40:12 +0000 (13:40 +0100)
committerMartin Liska <mliska@suse.cz>
Wed, 22 Jan 2020 12:40:12 +0000 (13:40 +0100)
commit7491c17fe01d8cf116f645532d46120029b26408
tree37104109f9c68904d0fe7fcb04f4afd6fb790685
parent9c4fb56578e0a66ec222e58bb89c1e8bc742ef5e
Fix TOP N counter update.

PR tree-optimization/92924
* libgcov-profiler.c (__gcov_topn_values_profiler_body): First
try to find an existing value, then find an empty slot
if not found.
libgcc/ChangeLog
libgcc/libgcov-profiler.c