From 2de6b254242f954dce3aace76d33a11fdbe8f894 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 28 Jul 2016 22:00:19 +0100 Subject: [PATCH] Fix invalid dg-do directives in libstdc++ tests * testsuite/22_locale/conversions/string/1.cc: Remove unintended dg-do compile directive. * testsuite/26_numerics/headers/cmath/fabs_inline.cc: Fix syntax of dg-do directive. * testsuite/26_numerics/valarray/const_bracket.cc: Likewise. From-SVN: r238834 --- libstdc++-v3/ChangeLog | 8 ++++++++ libstdc++-v3/testsuite/22_locale/conversions/string/1.cc | 1 - .../testsuite/26_numerics/headers/cmath/fabs_inline.cc | 2 +- .../testsuite/26_numerics/valarray/const_bracket.cc | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 15ae18f55d3..fad941b7e22 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2016-07-28 Jonathan Wakely + + * testsuite/22_locale/conversions/string/1.cc: Remove unintended + dg-do compile directive. + * testsuite/26_numerics/headers/cmath/fabs_inline.cc: Fix syntax of + dg-do directive. + * testsuite/26_numerics/valarray/const_bracket.cc: Likewise. + 2016-07-28 Ville Voutilainen Implement std::string_view and P0254r2, diff --git a/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc b/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc index 9a1e59fbb7e..25c058657d4 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc @@ -1,4 +1,3 @@ -// { dg-do compile } // { dg-options "-std=gnu++11" } // Copyright (C) 2015-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/fabs_inline.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/fabs_inline.cc index 23611421340..82c596456fb 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/fabs_inline.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/fabs_inline.cc @@ -17,7 +17,7 @@ // Test to see whether the host provides its own (inline) view of fabs. // Origin: Kurt Garloff , 2001-05-24 -// dg-do link +// { dg-do link } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/const_bracket.cc b/libstdc++-v3/testsuite/26_numerics/valarray/const_bracket.cc index 6936d15045c..8dea41f3c56 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/const_bracket.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/const_bracket.cc @@ -20,7 +20,7 @@ #include -// dg-do compile +// { dg-do compile } template void copy(P, std::size_t) { } -- 2.30.2