[Bug gcov-profile/82457] libgcov fork and exec hooks not always used

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 11 08:51:00 GMT 2017


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |nathan at gcc dot gnu.org

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok so the functions like (execve, fork) are recognized as builtins in
non-strict mode:
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html (Outside strict ISO C
mode...)
I would incline to provide either warning or to include these builtins with
--coverage? Adding gcov maintainers.


More information about the Gcc-bugs mailing list