gcov: fix reading of zero sections.
authorMartin Liska <mliska@suse.cz>
Fri, 23 Oct 2020 14:20:53 +0000 (16:20 +0200)
committerMartin Liska <mliska@suse.cz>
Fri, 23 Oct 2020 14:22:55 +0000 (16:22 +0200)
commit9067a1545085e360c8eb1c95a1b1a4480d9ee0b3
tree7575432093358b577ad53c8e19984b1683efac99
parentb66b30a807918ee1cf89b3376bb410b9046639b8
gcov: fix reading of zero sections.

I noticed that during coverage build of binutils.

gcc/ChangeLog:

* gcov.c (read_count_file): Never call gcov_sync with a negative
value.
gcc/gcov.c