From fe9eba601c07388433035e8e2774b0eb8ccd2bd8 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 18 May 2017 16:31:47 +0100 Subject: [PATCH] Replace c++11 effective-target with dg-options directive * testsuite/22_locale/codecvt/codecvt_utf16/79980.cc: Replace effective-target with dg-options directive. * testsuite/22_locale/codecvt/codecvt_utf16/80041.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf16/members.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf8/79980.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf8/members.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc: Likewise. From-SVN: r248239 --- libstdc++-v3/ChangeLog | 10 ++++++++++ .../testsuite/22_locale/codecvt/codecvt_utf16/79980.cc | 2 +- .../testsuite/22_locale/codecvt/codecvt_utf16/80041.cc | 2 +- .../22_locale/codecvt/codecvt_utf16/members.cc | 2 +- .../22_locale/codecvt/codecvt_utf16/misaligned.cc | 2 +- .../testsuite/22_locale/codecvt/codecvt_utf8/79980.cc | 2 +- .../22_locale/codecvt/codecvt_utf8/members.cc | 2 +- .../22_locale/codecvt/codecvt_utf8_utf16/79511.cc | 2 +- .../22_locale/codecvt/codecvt_utf8_utf16/members.cc | 2 +- 9 files changed, 18 insertions(+), 8 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f597b1666b8a..729209f81194 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,15 @@ 2017-05-18 Jonathan Wakely + * testsuite/22_locale/codecvt/codecvt_utf16/79980.cc: Replace + effective-target with dg-options directive. + * testsuite/22_locale/codecvt/codecvt_utf16/80041.cc: Likewise. + * testsuite/22_locale/codecvt/codecvt_utf16/members.cc: Likewise. + * testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc: Likewise. + * testsuite/22_locale/codecvt/codecvt_utf8/79980.cc: Likewise. + * testsuite/22_locale/codecvt/codecvt_utf8/members.cc: Likewise. + * testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc: Likewise. + * testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc: Likewise. + Backport from mainline 2016-08-02 Jonathan Wakely diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/79980.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/79980.cc index d8b9729ed5b2..7bef2f717d3b 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/79980.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/79980.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/80041.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/80041.cc index a78b194212dc..f3e7464b7438 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/80041.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/80041.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/members.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/members.cc index 993c86082c17..b11da5babaae 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/members.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/members.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc index 0179c184c202..b243bc3a0fef 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/misaligned.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/79980.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/79980.cc index 1251acb85bee..5dfcf2280bd6 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/79980.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/79980.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/members.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/members.cc index baeb049861a1..593d0ffee63e 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/members.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/members.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc index 5555bcba6fe5..cb5519240648 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc index 8fcdfff2cc1a..6a1bbf879544 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/members.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-options "-std=gnu++11" } #include #include -- 2.47.2