From patchwork Fri Jan 24 05:59:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Rodgers X-Patchwork-Id: 1228697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-518197-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=EE4102uO; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OwdxaG37; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 483pQJ69wJz9sP3 for ; Fri, 24 Jan 2020 17:00:06 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-description :content-type:content-transfer-encoding; q=dns; s=default; b=TlO OXW2lXSHw0Le3CKh4Q/VMCwFmEbxFRvmOYK2jW4smDk3vhtmZaesZipcf4kkQCl7 X9dc71493lZ39+C2UAH5kJzpoFytla+RpdiMdwKULGsPL1Yx6oDFEiZ3eVkG0WCo 6Ha6qtP3xe10vGsPzpf6BQ0BAT+t3lYkpa4AIBCQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-description :content-type:content-transfer-encoding; s=default; bh=p4+uObxKP uHaSUzErwamW1ePt8k=; b=EE4102uOWOC4VWC9fOh6ctlF2aNehits6iqAx8eP9 /XfNvNvmMFT4Id/oeg/k+CleER/NuQ/ENRQM6UGEB5tgUp5qI+WSmvymoxON2E6+ hrcHmnGpccpix4jq5bIt7VtAIm787810Dz1RZg+eMIFH4ZoyPHRXh29Pz70jyAbo J4= Received: (qmail 40036 invoked by alias); 24 Jan 2020 05:59:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 40028 invoked by uid 89); 24 Jan 2020 05:59:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham 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:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579845595; 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=OwdxaG37x91NYcKezbHeFcS25cJvOy6u8tlH8iQd7vYKLB1q6OGPHgAn+HTO7bM8xrsUFS e/0tBfdS/XF+ZsaHg/jNYGx8XzH6RjtHAdOS7H69qk3wgUXTDJYOA/DK0tIvVaC8YFzpGC PS6VkNXc+MtHkE9CG9SnQqQjtcWjBeU= 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: Thu, 23 Jan 2020 21:59:50 -0800 Message-ID: MIME-Version: 1.0 Content-Description: le patch X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline; filename=0001-Suppress-deprecation-warnings-in-tbb-effective-targe.patch From 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/testsuite/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 - set lines [v3_target_compile $src $exe executable "additional_flags=-std=c++17 additional_flags=-ltbb"] + set lines [v3_target_compile $src $exe executable "additional_flags=-std=c++17 additional_flags=-ltbb + additional_flags=-DTBB_SUPPRESS_DEPRECATED_MESSAGES=1"] file delete $src if [string match "" $lines] { -- 2.21.1