From 25d4036370f11d5c32fed965c2d47e0958cbe64a Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 21 Aug 2018 10:34:26 +0100 Subject: [PATCH] Remove redundant { dg-do run } directives in tests These tests accidentally had two dg-do directives. Only the second one is needed. * testsuite/26_numerics/bit/bitops.count/countl_one.cc: Remove redundant dg-do directive. * testsuite/26_numerics/bit/bitops.count/countl_zero.cc: Likewise. * testsuite/26_numerics/bit/bitops.count/countr_one.cc: Likewise. * testsuite/26_numerics/bit/bitops.count/countr_zero.cc: Likewise. * testsuite/26_numerics/bit/bitops.count/popcount.cc: Likewise. From-SVN: r263695 --- libstdc++-v3/ChangeLog | 9 +++++++++ .../testsuite/26_numerics/bit/bitops.count/countl_one.cc | 2 -- .../26_numerics/bit/bitops.count/countl_zero.cc | 2 -- .../testsuite/26_numerics/bit/bitops.count/countr_one.cc | 2 -- .../26_numerics/bit/bitops.count/countr_zero.cc | 2 -- .../testsuite/26_numerics/bit/bitops.count/popcount.cc | 2 -- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 48455953db8..0e13e5617eb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2018-08-21 Jonathan Wakely + + * testsuite/26_numerics/bit/bitops.count/countl_one.cc: Remove + redundant dg-do directive. + * testsuite/26_numerics/bit/bitops.count/countl_zero.cc: Likewise. + * testsuite/26_numerics/bit/bitops.count/countr_one.cc: Likewise. + * testsuite/26_numerics/bit/bitops.count/countr_zero.cc: Likewise. + * testsuite/26_numerics/bit/bitops.count/popcount.cc: Likewise. + 2018-08-20 Jonathan Wakely PR libstdc++/86963 diff --git a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_one.cc b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_one.cc index c9ef5538538..bf8ab5b6046 100644 --- a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_one.cc +++ b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_one.cc @@ -15,8 +15,6 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } - // { dg-options "-std=gnu++2a" } // { dg-do compile { target c++2a } } diff --git a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_zero.cc b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_zero.cc index 7d619a7d697..8045ff5934c 100644 --- a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_zero.cc +++ b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countl_zero.cc @@ -15,8 +15,6 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } - // { dg-options "-std=gnu++2a" } // { dg-do compile { target c++2a } } diff --git a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_one.cc b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_one.cc index bb1ddd6234d..6e5f717d056 100644 --- a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_one.cc +++ b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_one.cc @@ -15,8 +15,6 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } - // { dg-options "-std=gnu++2a" } // { dg-do compile { target c++2a } } diff --git a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_zero.cc b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_zero.cc index d3b63aa4984..cc66145849b 100644 --- a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_zero.cc +++ b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/countr_zero.cc @@ -15,8 +15,6 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } - // { dg-options "-std=gnu++2a" } // { dg-do compile { target c++2a } } diff --git a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/popcount.cc b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/popcount.cc index 2982cb19bbe..27dcc4acb01 100644 --- a/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/popcount.cc +++ b/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/popcount.cc @@ -15,8 +15,6 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } - // { dg-options "-std=gnu++2a" } // { dg-do compile { target c++2a } }