From 6fbf26cc575cd5d50acc63a0d935744399230435 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 17 Aug 2016 20:58:44 +0100 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-2.cc | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.30.2