diff options
author | Martin Liska <mliska@suse.cz> | 2017-10-31 12:55:19 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-10-31 11:55:19 +0000 |
commit | 00da60d4def3782039bef86fbdf07fd620d8b57a (patch) | |
tree | db0a5d967d87dd9bb161c77101e1244d059673b7 /gcc/configure | |
parent | 00ca3ed28c98be6485017f835e6c4366f35221ee (diff) | |
download | gcc-00da60d4def3782039bef86fbdf07fd620d8b57a.zip gcc-00da60d4def3782039bef86fbdf07fd620d8b57a.tar.gz gcc-00da60d4def3782039bef86fbdf07fd620d8b57a.tar.bz2 |
GCOV: document behavior of -fkeep-{static,inline}-functions (PR gcov-profile/82633).
2017-10-31 Martin Liska <mliska@suse.cz>
PR gcov-profile/82633
* doc/gcov.texi: Document -fkeep-{static,inline}-functions and
their interaction with GCOV infrastructure.
* configure.ac: Add -fkeep-{inline,static}-functions to
coverage_flags.
* configure: Regenerate.
From-SVN: r254257
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure index c49e665..c6297ac 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7321,10 +7321,10 @@ fi if test "${enable_coverage+set}" = set; then : enableval=$enable_coverage; case "${enableval}" in yes|noopt) - coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0" + coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0 -fkeep-inline-functions -fkeep-static-functions" ;; opt) - coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2" + coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2 -fkeep-inline-functions -fkeep-static-functions" ;; no) # a.k.a. --disable-coverage |