* [PATCH] Suppress deprecation warnings in tbb effective target check
@ 2020-01-24 10:52 Thomas Rodgers
2020-01-24 17:21 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Rodgers @ 2020-01-24 10:52 UTC (permalink / raw)
To: gcc-patches, libstdc++
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: le patch --]
[-- Type: text/x-patch, Size: 1234 bytes --]
From cfd3c2e2a49dd3e29b42baa0f22feffd4b346231 Mon Sep 17 00:00:00 2001
From: Thomas Rodgers <trodgers@trodgers.remote.f30>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Suppress deprecation warnings in tbb effective target check
2020-01-24 10:52 [PATCH] Suppress deprecation warnings in tbb effective target check Thomas Rodgers
@ 2020-01-24 17:21 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2020-01-24 17:21 UTC (permalink / raw)
To: Thomas Rodgers; +Cc: gcc-patches, libstdc++
You didn't provide a ChangeLog entry. Please be sure to add one.
OK for master and gcc-9 branch, with the ChangeLog entry. Thanks.
On 23/01/20 21:59 -0800, Thomas Rodgers wrote:
>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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-24 10:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-24 10:52 [PATCH] Suppress deprecation warnings in tbb effective target check Thomas Rodgers
2020-01-24 17:21 ` Jonathan Wakely
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).