]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Backport r254137
authorMartin Liska <mliska@suse.cz>
Thu, 8 Mar 2018 08:52:39 +0000 (09:52 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 8 Mar 2018 08:52:39 +0000 (08:52 +0000)
2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
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: r258356

gcc/ChangeLog
gcc/doc/invoke.texi

index f1274bfd957fa77693c061beb44e76c050c190a7..a0b9fd33c3de343489162a6498779990f1ef3bf8 100644 (file)
@@ -1,3 +1,12 @@
+2018-03-08  Martin Liska  <mliska@suse.cz>
+
+       Backport from mainline
+       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.
+
 2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
 
        Backport from mainline
index df4f5bd17d81b4ecd3190a3a3b8e08c859393f76..8e711fa084d369987a31c04adf512d158e27be99 100644 (file)
@@ -9700,9 +9700,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