diff options
author | Martin Liska <mliska@suse.cz> | 2017-10-27 10:34:56 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-10-27 08:34:56 +0000 |
commit | ddcb1c887b91ab6e269684b17db87d825e0696d7 (patch) | |
tree | 67d278f12a03742f8d59f7733805449f4db19123 | |
parent | 830717d0a3ae6e19b8d783f9f3481945772e29dc (diff) | |
download | gcc-ddcb1c887b91ab6e269684b17db87d825e0696d7.zip gcc-ddcb1c887b91ab6e269684b17db87d825e0696d7.tar.gz gcc-ddcb1c887b91ab6e269684b17db87d825e0696d7.tar.bz2 |
Document --coverage and fork-like functions (PR gcov-profile/82457).
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f33699..0233500 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 2fc087a..87fb9c8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 |