https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
> I'm trying to now when would __gcov_reset help us in seeing the counter
> values reset to ##### instead of old data(numbers like 4,1,3, etc in .c.gcov
> file).

Note that .gcda profiles are always merged after a program finishes.
__gcov_reset resets only run-time profile (counters collected so far during a
run), so merging happens anyway. If you want to reset a .gcda file, then remove
it.

Reply via email to