From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 02B96383F94A; Tue, 21 Jun 2022 08:59:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02B96383F94A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/gcov-conditions-v5)] Add -fprofile-conditions to PGO. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/gcov-conditions-v5 X-Git-Oldrev: 6e9108867c0cccbe7a1fd34e5798dc2ef768c125 X-Git-Newrev: c6acef82b6a366c671abc0287c1897d885f98d6c Message-Id: <20220621085916.02B96383F94A@sourceware.org> Date: Tue, 21 Jun 2022 08:59:16 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2022 08:59:16 -0000 https://gcc.gnu.org/g:c6acef82b6a366c671abc0287c1897d885f98d6c commit c6acef82b6a366c671abc0287c1897d885f98d6c Author: Martin Liska Date: Tue Jun 21 09:49:05 2022 +0200 Add -fprofile-conditions to PGO. Diff: --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 593495e1650..25dd316b228 100644 --- a/Makefile.in +++ b/Makefile.in @@ -625,7 +625,8 @@ STAGE2_TFLAGS += -fno-checking STAGE3_CFLAGS += -fchecking=1 STAGE3_TFLAGS += -fchecking=1 -STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate +STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate -fprofile-conditions -Wno-error=coverage-too-many-conditions + STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))