From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25624 invoked by alias); 4 Dec 2018 15:33:12 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 25609 invoked by uid 89); 4 Dec 2018 15:33:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.2 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_ASCII_DIVIDERS,KAM_COUK,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=fires, 264657, Hx-spam-relays-external:ESMTPA X-HELO: smtp2.wavenetuk.net Received: from smtp2.wavenetuk.net (HELO smtp2.wavenetuk.net) (195.26.37.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 04 Dec 2018 15:33:09 +0000 Received: from euterpe-sie.home (host81-138-1-83.in-addr.btopenworld.com [81.138.1.83]) by smtp2.wavenetuk.net (Postfix) with ESMTPA id 5470C6000FB for ; Tue, 4 Dec 2018 15:33:07 +0000 (GMT) From: Iain Sandoe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [committed, testsuite] Fix PR88310. Message-Id: <5747ABCD-4100-435B-81FD-CC630732AB7F@sandoe.co.uk> Date: Tue, 04 Dec 2018 15:33:00 -0000 To: GCC-patches X-SW-Source: 2018-12/txt/msg00209.txt.bz2 Hi, A new warning was added in 264657 that fires if the profile count data file= is missing when -fprofile-use is enabled; this was causing the test for p= rofile + reorder support to fail in the target supports. Applied the following as obvious. Iain Index: gcc/testsuite/ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/testsuite/ChangeLog (revision 266784) +++ gcc/testsuite/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2018-12-04 Iain Sandoe + + PR testsuite/88310 + * lib/target-supports.exp (check_effective_target_freorder): + Suppress warnings for missing profile. + 2018-12-04 Jakub Jelinek =20 * g++.old-deja/g++.oliva/typename1.C: Don't expect any diagnostics Index: gcc/testsuite/lib/target-supports.exp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/testsuite/lib/target-supports.exp (revision 266784) +++ gcc/testsuite/lib/target-supports.exp (working copy) @@ -1094,7 +1094,7 @@ } "-freorder-blocks-and-partition"] && [check_no_compiler_messages fprofile_use_freorder object { void foo (void) { } - } "-fprofile-use -freorder-blocks-and-partition"] } { + } "-fprofile-use -freorder-blocks-and-partition -Wno-missing-profile"]= } { return 1 } return 0