summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorThomas Rodgers <rodgert@appliantology.com>2020-04-21 01:01:26 -0700
committerThomas Rodgers <rodgert@appliantology.com>2020-04-21 01:05:13 -0700
commitb90ff7a20b2d1c84a05cba13a2f20e6ff2260828 (patch)
treea112ba12589fc089e0600f56d49cf61b11dd7fd2 /libstdc++-v3
parent46cf683bf16491a0bd1d77d8b0cce0e11cf1d46f (diff)
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.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp3
2 files changed, 8 insertions, 1 deletions
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 <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-20 Jonathan Wakely <jwakely@redhat.com>
* 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] {