From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2136) id 56A663A74814; Wed, 17 Jun 2020 20:35:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56A663A74814 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592426131; bh=8QQBq1CrPN07EfXDZoCqdv0tXhCCq9t31b5IBAska2c=; h=From:To:Subject:Date:From; b=ldQpgbJU5rX2qNLFewVIDsKrUzVtmYqOpZ/jxa4wvK2ghHel/HmvIEZ32Ch1NOqy9 hGQkkknj0dsvZWgU56B2Z/O+ihYU54RdWfImBuB9g8EUOdeZvIXMz/zkNLz6lPT20M Awnx3eayBTFN1EKdpWbh0RB1ZDdLtZvHEbdhV+ZU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Aldy Hernandez To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc/devel/ranger] libstdc++: Fix PSTL tests to run correctly with newer Thread Building Blocks X-Act-Checkin: gcc X-Git-Author: Thomas Rodgers X-Git-Refname: refs/heads/devel/ranger X-Git-Oldrev: 46cf683bf16491a0bd1d77d8b0cce0e11cf1d46f X-Git-Newrev: b90ff7a20b2d1c84a05cba13a2f20e6ff2260828 Message-Id: <20200617203531.56A663A74814@sourceware.org> Date: Wed, 17 Jun 2020 20:35:31 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2020 20:35:31 -0000 https://gcc.gnu.org/g:b90ff7a20b2d1c84a05cba13a2f20e6ff2260828 commit b90ff7a20b2d1c84a05cba13a2f20e6ff2260828 Author: Thomas Rodgers Date: Tue Apr 21 01:01:26 2020 -0700 libstdc++: Fix PSTL tests to run correctly with newer Thread Building Blocks * testsuite/lib/libstdc++.exp: Add additional_flags= -DTBB_SUPRESS_DEPRECATED_MESSAGES=1 to suppress warnings when compiling with a newer Thread Building Blocks. Diff: --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/testsuite/lib/libstdc++.exp | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0cce2b03c18..d09d114d948 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2020-04-20 Thomas Rodgers + + * testsuite/lib/libstdc++.exp: Add additional_flags= + -DTBB_SUPRESS_DEPRECATED_MESSAGES=1 to suppress warnings when + compiling with a newer Thread Building Blocks. + 2020-04-20 Jonathan Wakely * testsuite/24_iterators/istreambuf_iterator/sentinel.cc: New test. diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 7f4532c55b2..16963f2edd5 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] {