From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40234 invoked by alias); 24 Jan 2020 05:59:59 -0000 Mailing-List: contact libstdc++-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libstdc++-owner@gcc.gnu.org Received: (qmail 40185 invoked by uid 89); 24 Jan 2020 05:59:59 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.5 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Jan 2020 05:59:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579845596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k+KOnZazCtpwc4StMEp6l9ptByZJaG/v0IERl30rpNw=; b=SsyvKerIztpYVV2LS1uUpQHQzSyK0xIVJUPyTW2S2r9Mx/n8tGGtuEHXHEnHOOYvsSRYWE dCCdhb5qfzgfg/tZKVzbTKJ+YvEY+5pDB1vvXFPn6luta8KO2rgTr0MenSVgm5Z3y8l8SQ PBXIMc3nXQx+tElHzCbF8damCpZ3rUw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-412-b4X4NQ94Ps6eb3MV_mmRww-1; Fri, 24 Jan 2020 00:59:52 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C2BAC800D48; Fri, 24 Jan 2020 05:59:51 +0000 (UTC) Received: from trodgers.remote.f30.redhat.com (ovpn-117-196.phx2.redhat.com [10.3.117.196]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6AE9C10016EB; Fri, 24 Jan 2020 05:59:51 +0000 (UTC) User-agent: mu4e 1.3.4; emacs 26.3 From: Thomas Rodgers To: gcc-patches , "libstdc++\@gcc.gnu.org" Subject: [PATCH] Suppress deprecation warnings in tbb effective target check Date: Fri, 24 Jan 2020 10:52:00 -0000 Message-ID: MIME-Version: 1.0 Content-Description: le patch X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename=0001-Suppress-deprecation-warnings-in-tbb-effective-targe.patch X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00127.txt.bz2 =46rom cfd3c2e2a49dd3e29b42baa0f22feffd4b346231 Mon Sep 17 00:00:00 2001 From: Thomas Rodgers Date: Thu, 23 Jan 2020 21:54:44 -0800 Subject: [PATCH] Suppress deprecation warnings in tbb effective target check TBB 2020 added deprecation warnings which produced output not expected by check_effective_target_tbb-backend --- libstdc++-v3/testsuite/lib/libstdc++.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsu= ite/lib/libstdc++.exp index 94f3fdb2bc8..f451719bdd4 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -1597,7 +1597,8 @@ proc check_effective_target_tbb-backend { } { puts $f "}" close $f =20 - set lines [v3_target_compile $src $exe executable "additional_flag= s=3D-std=3Dc++17 additional_flags=3D-ltbb"] + set lines [v3_target_compile $src $exe executable "additional_flag= s=3D-std=3Dc++17 additional_flags=3D-ltbb + additional_flag= s=3D-DTBB_SUPPRESS_DEPRECATED_MESSAGES=3D1"] file delete $src =20 if [string match "" $lines] { --=20 2.21.1