]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 5f33699a34bd7f9ae05bd1491695cbd6fdc12c10..02335006e025374836cbbc138ed4c5516aa6d154 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 2fc087a3042c0cc74ef5b116e17d7c391887e5e5..87fb9c8dfc17ab75e1c2c3020a03cf3d161f03d3 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