Document --coverage and fork-like functions (PR gcov-profile/82457).
authorMartin Liska <mliska@suse.cz>
Fri, 27 Oct 2017 08:34:56 +0000 (10:34 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 27 Oct 2017 08:34:56 +0000 (08:34 +0000)
2017-10-27  Martin Liska  <mliska@suse.cz>

PR gcov-profile/82457
* doc/invoke.texi: Document that one needs a non-strict ISO mode
for fork-like functions to be properly instrumented.

From-SVN: r254137

gcc/ChangeLog
gcc/doc/invoke.texi

index 5f33699..0233500 100644 (file)
@@ -1,3 +1,9 @@
+2017-10-27  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/82457
+       * doc/invoke.texi: Document that one needs a non-strict ISO mode
+       for fork-like functions to be properly instrumented.
+
 2017-10-27  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/81659
index 2fc087a..87fb9c8 100644 (file)
@@ -10868,9 +10868,9 @@ Link your object files with @option{-lgcov} or @option{-fprofile-arcs}
 Run the program on a representative workload to generate the arc profile
 information.  This may be repeated any number of times.  You can run
 concurrent instances of your program, and provided that the file system
-supports locking, the data files will be correctly updated.  Also
-@code{fork} calls are detected and correctly handled (double counting
-will not happen).
+supports locking, the data files will be correctly updated.  Unless
+a strict ISO C dialect option is in effect, @code{fork} calls are
+detected and correctly handled without double counting.
 
 @item
 For profile-directed optimizations, compile the source files again with