From 9879232c98696816d0d81c12ed207db241a55c16 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 15 Nov 2017 08:25:40 +0100 Subject: [PATCH] Coverage: remove -fkeep-inline-functions from coverage_flags. 2017-11-15 Martin Liska * configure.ac: Remove -fkeep-inline-functions from coverage_flags. * configure: Regenerate. From-SVN: r254756 --- gcc/ChangeLog | 5 +++++ gcc/configure | 4 ++-- gcc/configure.ac | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12ef4bd0544..5d115b6257a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-11-15 Martin Liska + + * configure.ac: Remove -fkeep-inline-functions from coverage_flags. + * configure: Regenerate. + 2017-11-15 Martin Liska PR target/82927 diff --git a/gcc/configure b/gcc/configure index 30fb208b9b0..d4461e2fdd2 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7323,10 +7323,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 -fkeep-inline-functions -fkeep-static-functions" + coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0 -fkeep-static-functions" ;; opt) - coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2 -fkeep-inline-functions -fkeep-static-functions" + coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2 -fkeep-static-functions" ;; no) # a.k.a. --disable-coverage diff --git a/gcc/configure.ac b/gcc/configure.ac index d3a31c2c15a..aec8df928bf 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -728,10 +728,10 @@ AC_ARG_ENABLE(coverage, default is noopt])], [case "${enableval}" in yes|noopt) - coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0 -fkeep-inline-functions -fkeep-static-functions" + coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0 -fkeep-static-functions" ;; opt) - coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2 -fkeep-inline-functions -fkeep-static-functions" + coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2 -fkeep-static-functions" ;; no) # a.k.a. --disable-coverage -- 2.30.2