public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ibm/heads/gcc-9-branch)] libstdc++: Fix PSTL tests to run correctly with newer Thread Building Blocks
@ 2020-09-04 19:06 Peter Bergner
  0 siblings, 0 replies; only message in thread
From: Peter Bergner @ 2020-09-04 19:06 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:c32aa69c086e1b76d2176829db85a6ba9650a2da

commit c32aa69c086e1b76d2176829db85a6ba9650a2da
Author: Thomas Rodgers <rodgert@appliantology.com>
Date:   Thu Apr 23 13:33:09 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 85d8c9e4fea..af94bd2b130 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2020-04-20  Thomas Rodgers  <trodgers@redhat.com>
+
+	* 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-23  Jonathan Wakely  <jwakely@redhat.com>
 
 	Backport from mainline
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 1ab896d3deb..a616227ae7b 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -1623,7 +1623,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] {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-04 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 19:06 [gcc(refs/vendors/ibm/heads/gcc-9-branch)] libstdc++: Fix PSTL tests to run correctly with newer Thread Building Blocks Peter Bergner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).