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

miyuki at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 9 06:54:00 GMT 2017


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

Mikhail Maltsev <miyuki at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |miyuki at gcc dot gnu.org
      Known to fail|                            |8.0

--- Comment #4 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
IMHO, this is not just a documentation bug (no one reads it anyway ;)). A
better solution (from the QOI point of view) would be to diagnose each call to
exec* and fork, when both -fprofile-arcs (implied by --coverage) and
-std=c99/c11 are used.


More information about the Gcc-bugs mailing list