From: Jonathan Wakely Date: Wed, 17 Aug 2016 19:58:44 +0000 (+0100) Subject: Fix invalid dg-do directive X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fbf26cc575cd5d50acc63a0d935744399230435;p=gcc.git Fix invalid dg-do directive * testsuite/20_util/reference_wrapper/invoke-2.cc: Fix invalid dg-do directive and use effective target instead of dg-options. From-SVN: r239548 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a6736b3abab..387026fb30a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-08-17 Jonathan Wakely + * testsuite/20_util/reference_wrapper/invoke-2.cc: Fix invalid dg-do + directive and use effective target instead of dg-options. + * testsuite/20_util/hash/chi2_q_bit_flip_set.cc: Use effective target instead of -std in dg-options. * testsuite/20_util/hash/chi2_q_bit_string_set.cc: Likewise. diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc index 89b81ac94a0..85803ba0ccd 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile} +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free