[Bug gcov-profile/93623] No need to dump gcdas when forking
cdenizet at mozilla dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 21 13:01:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93623
--- Comment #6 from calixte <cdenizet at mozilla dot com> ---
(In reply to Alexander Monakov from comment #5)
> (In reply to calixte from comment #2)
> > I think the reset is useless in the case of exec** functions since the
> > counters are lost when an exec** is called. So it can probably be removed
> > too.
>
> exec can fail; resetting only after an (unsuccessful) exec may be ok, but
> eliding the reset entirely does not seem so.
+1
More information about the Gcc-bugs
mailing list