mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-21 01:55:15 +08:00
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.
This commit is contained in:
parent
46cf683bf1
commit
b90ff7a20b
@ -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.
|
||||
|
@ -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] {
|
||||
|
Loading…
Reference in New Issue
Block a user