From: Jonathan Wakely Date: Fri, 26 Aug 2016 11:41:37 +0000 (+0100) Subject: Use effective-target instead of -std options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52066eae5d3dd6b7c0a1b843469582dbdbb941eb;p=gcc.git Use effective-target instead of -std options * testsuite/*: Use { target c++11 } or { target c++14 } instead of using -std in dg-options. From-SVN: r239777 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8a7f59da1de..594b9725c50 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2016-08-26 Jonathan Wakely + + * testsuite/*: Use { target c++11 } or { target c++14 } instead of + using -std in dg-options. + 2016-08-26 Jonathan Wakely Pedro Alves diff --git a/libstdc++-v3/testsuite/17_intro/freestanding.cc b/libstdc++-v3/testsuite/17_intro/freestanding.cc index 98e1d6c67d3..0c7663a62d3 100644 --- a/libstdc++-v3/testsuite/17_intro/freestanding.cc +++ b/libstdc++-v3/testsuite/17_intro/freestanding.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lsupc++ -fvtable-verify=none" } +// { dg-options "-lsupc++ -fvtable-verify=none" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/17_intro/static.cc b/libstdc++-v3/testsuite/17_intro/static.cc index db562f935da..e7b26bf06f9 100644 --- a/libstdc++-v3/testsuite/17_intro/static.cc +++ b/libstdc++-v3/testsuite/17_intro/static.cc @@ -1,6 +1,6 @@ -// { dg-do link } +// { dg-do link { target c++11 } } // { dg-require-static-libstdcxx } -// { dg-options "-static-libstdc++ -std=gnu++11" } +// { dg-options "-static-libstdc++" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/17_intro/tag_type_explicit_ctor.cc b/libstdc++-v3/testsuite/17_intro/tag_type_explicit_ctor.cc index debb5404150..8046f12243e 100644 --- a/libstdc++-v3/testsuite/17_intro/tag_type_explicit_ctor.cc +++ b/libstdc++-v3/testsuite/17_intro/tag_type_explicit_ctor.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc b/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc index 779f388fcc3..7cd2ab9231b 100644 --- a/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc +++ b/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // @@ -66,4 +65,4 @@ namespace gnu using namespace std::tr1; // { dg-error "is not a namespace-name" } } -// { dg-error "expected namespace-name before" "" { target *-*-* } 66 } +// { dg-error "expected namespace-name before" "" { target *-*-* } 65 } diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc index 23d8fed1a7c..74307cc06eb 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-terminate.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-terminate.cc index de5ed4a2a50..c00e28746ad 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-terminate.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-terminate.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc index 14f6ffeae87..2b5ec2dce54 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc index a714aa3b990..c83d5fb893e 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2015-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/64241.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/64241.cc index 25002d54247..fbb01ae9c33 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/64241.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/64241.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -fno-exceptions -O0" } +// { dg-options "-fno-exceptions -O0" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } #include diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc index 47d521b8511..2383ceecf91 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // 2008-05-25 Sebastian Redl diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/lifespan.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/lifespan.cc index bf4f4ab5fa7..e350df33381 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/lifespan.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/lifespan.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // 2008-05-25 Sebastian Redl diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/make_exception_ptr.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/make_exception_ptr.cc index 0ea80b12c36..b496bb37ec5 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/make_exception_ptr.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/make_exception_ptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/move.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/move.cc index 762e3dc491b..6318bc4e6e0 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/move.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/requirements.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/requirements.cc index ec016ca326b..b3b9e0c33d6 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/requirements.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/requirements.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/requirements_neg.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/requirements_neg.cc index d5f7c911ebb..b80d6881854 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/requirements_neg.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/requirements_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/rethrow_exception.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/rethrow_exception.cc index 2afe03d39b4..f0b61b15122 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/rethrow_exception.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/rethrow_exception.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // 2008-05-25 Sebastian Redl diff --git a/libstdc++-v3/testsuite/18_support/headers/cstdbool/macros.cc b/libstdc++-v3/testsuite/18_support/headers/cstdbool/macros.cc index e705ba2d81e..8504741b098 100644 --- a/libstdc++-v3/testsuite/18_support/headers/cstdbool/macros.cc +++ b/libstdc++-v3/testsuite/18_support/headers/cstdbool/macros.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/headers/cstdint/types_std_c++0x.cc b/libstdc++-v3/testsuite/18_support/headers/cstdint/types_std_c++0x.cc index 45e2b965dc9..b24df12c2e5 100644 --- a/libstdc++-v3/testsuite/18_support/headers/cstdint/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/18_support/headers/cstdint/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc b/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc index 2d03355e778..e6d611eccf9 100644 --- a/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc +++ b/libstdc++-v3/testsuite/18_support/headers/exception/synopsis.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc b/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc index f3ed727face..f193bf25994 100644 --- a/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc +++ b/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/initializer_list/constexpr.cc b/libstdc++-v3/testsuite/18_support/initializer_list/constexpr.cc index e006cf79629..4547c6c98b7 100644 --- a/libstdc++-v3/testsuite/18_support/initializer_list/constexpr.cc +++ b/libstdc++-v3/testsuite/18_support/initializer_list/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/initializer_list/range_access.cc b/libstdc++-v3/testsuite/18_support/initializer_list/range_access.cc index fa2ad24d4ef..424628c846a 100644 --- a/libstdc++-v3/testsuite/18_support/initializer_list/range_access.cc +++ b/libstdc++-v3/testsuite/18_support/initializer_list/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/initializer_list/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/18_support/initializer_list/requirements/constexpr_functions.cc index 1482d5de9a2..15fe525907b 100644 --- a/libstdc++-v3/testsuite/18_support/initializer_list/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/18_support/initializer_list/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/initializer_list/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/18_support/initializer_list/requirements/explicit_instantiation.cc index 3f594084ca8..5f768fb3e84 100644 --- a/libstdc++-v3/testsuite/18_support/initializer_list/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/18_support/initializer_list/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2009-05-27 Benjamin Kosnik // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/initializer_list/requirements/typedefs.cc b/libstdc++-v3/testsuite/18_support/initializer_list/requirements/typedefs.cc index 60daff3bdb8..0e00f7a30fe 100644 --- a/libstdc++-v3/testsuite/18_support/initializer_list/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/18_support/initializer_list/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2009-05-27 Benjamin Kosnik // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/max_align_t/requirements/1.cc b/libstdc++-v3/testsuite/18_support/max_align_t/requirements/1.cc index 46280de7f30..33e4ed62fe2 100644 --- a/libstdc++-v3/testsuite/18_support/max_align_t/requirements/1.cc +++ b/libstdc++-v3/testsuite/18_support/max_align_t/requirements/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/max_align_t/requirements/2.cc b/libstdc++-v3/testsuite/18_support/max_align_t/requirements/2.cc index 67cd90172e9..813435497a7 100644 --- a/libstdc++-v3/testsuite/18_support/max_align_t/requirements/2.cc +++ b/libstdc++-v3/testsuite/18_support/max_align_t/requirements/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/51438.cc b/libstdc++-v3/testsuite/18_support/nested_exception/51438.cc index cfabf668fdd..04ef32f7c22 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/51438.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/51438.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/62154.cc b/libstdc++-v3/testsuite/18_support/nested_exception/62154.cc index 4af2b1f0e79..f1884a5e6fb 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/62154.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/62154.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/68139.cc b/libstdc++-v3/testsuite/18_support/nested_exception/68139.cc index 6be7ec1d158..bf803dbd9fe 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/68139.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/68139.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2015-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/cons.cc b/libstdc++-v3/testsuite/18_support/nested_exception/cons.cc index 25437d9e2bd..e652c31ab40 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/cons.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/cons.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/nested_ptr.cc b/libstdc++-v3/testsuite/18_support/nested_exception/nested_ptr.cc index 9adb7ee3935..bfb8ee08cbd 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/nested_ptr.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/nested_ptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_if_nested.cc b/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_if_nested.cc index d98a082b004..135679f5980 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_if_nested.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_if_nested.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_nested.cc b/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_nested.cc index 6487efa1d24..31d822ba11a 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_nested.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_nested.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/throw_with_nested.cc b/libstdc++-v3/testsuite/18_support/nested_exception/throw_with_nested.cc index 5579cc09044..ac37f020dc7 100644 --- a/libstdc++-v3/testsuite/18_support/nested_exception/throw_with_nested.cc +++ b/libstdc++-v3/testsuite/18_support/nested_exception/throw_with_nested.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/18_support/new_handler.cc b/libstdc++-v3/testsuite/18_support/new_handler.cc index 94090198e63..c1a9f536387 100644 --- a/libstdc++-v3/testsuite/18_support/new_handler.cc +++ b/libstdc++-v3/testsuite/18_support/new_handler.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 18.6.2 Storage allocation errors diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/40856.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/40856.cc index 7577b59ea2b..027e5eed06a 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/40856.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/40856.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. // diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc index 765ac4cf9eb..546c5b2c49c 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2008-05-20 Paolo Carlini diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/cons/default_c++0x.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/cons/default_c++0x.cc index c94940da4c3..0b9526c4945 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/cons/default_c++0x.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/cons/default_c++0x.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/dr559.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/dr559.cc index a8831e8a56b..f4979fdda6f 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/dr559.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/dr559.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-17 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/lowest.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/lowest.cc index af6ecfa7ee2..8969ddfd67f 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/lowest.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/lowest.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-add-options ieee } // 2010-02-25 Ed Smith-Rowland diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/max_digits10.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/max_digits10.cc index c9d2bb9ec33..4f5c601732c 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/max_digits10.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/max_digits10.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-add-options ieee } // 2010-02-25 Ed Smith-Rowland diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_data.cc index c6cd0e453af..7ac2a96fe0e 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_functions.cc index 5f5b97463a2..c6697829c6b 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/quick_exit/quick_exit.cc b/libstdc++-v3/testsuite/18_support/quick_exit/quick_exit.cc index a7761479e2d..bcd41078683 100644 --- a/libstdc++-v3/testsuite/18_support/quick_exit/quick_exit.cc +++ b/libstdc++-v3/testsuite/18_support/quick_exit/quick_exit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-02-11 Jason Merrill // diff --git a/libstdc++-v3/testsuite/18_support/terminate_handler.cc b/libstdc++-v3/testsuite/18_support/terminate_handler.cc index f7e43e27fcd..d11c9c09756 100644 --- a/libstdc++-v3/testsuite/18_support/terminate_handler.cc +++ b/libstdc++-v3/testsuite/18_support/terminate_handler.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 18.8.3 Abnormal termination diff --git a/libstdc++-v3/testsuite/18_support/type_info/52562.cc b/libstdc++-v3/testsuite/18_support/type_info/52562.cc index 414559c4213..92a81531369 100644 --- a/libstdc++-v3/testsuite/18_support/type_info/52562.cc +++ b/libstdc++-v3/testsuite/18_support/type_info/52562.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/18_support/type_info/fundamental.cc b/libstdc++-v3/testsuite/18_support/type_info/fundamental.cc index 02809aa2827..64415b64b8c 100644 --- a/libstdc++-v3/testsuite/18_support/type_info/fundamental.cc +++ b/libstdc++-v3/testsuite/18_support/type_info/fundamental.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-effective-target dfp } // 2011-02-23 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/18_support/type_info/hash_code.cc b/libstdc++-v3/testsuite/18_support/type_info/hash_code.cc index 0ee6636f193..8758222b20e 100644 --- a/libstdc++-v3/testsuite/18_support/type_info/hash_code.cc +++ b/libstdc++-v3/testsuite/18_support/type_info/hash_code.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-09-21 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/18_support/unexpected_handler.cc b/libstdc++-v3/testsuite/18_support/unexpected_handler.cc index 8c95a99bd51..0f9c2c1f8ca 100644 --- a/libstdc++-v3/testsuite/18_support/unexpected_handler.cc +++ b/libstdc++-v3/testsuite/18_support/unexpected_handler.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // D.11 Violating exception-specifications diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc b/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc index 8d9ed9d79a8..56e9f286d85 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-08-22 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/default.cc b/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/default.cc index f6f4dd900c4..e3238ce751d 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/default.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-08-22 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/equal.cc b/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/equal.cc index 702418dfd28..52c4b451ed3 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/equal.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libgcc" { target *-*-mingw* } } // 2007-08-22 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/not_equal.cc b/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/not_equal.cc index 006fb422fd6..7ba797c25bc 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/not_equal.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_category/operators/not_equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-08-22 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/1.cc b/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/1.cc index a09cc102eec..d89f0168c4a 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/1.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // 2007-08-22 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/39882.cc b/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/39882.cc index cbee9748dfe..989f29d683e 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/39882.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/39882.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_code/modifiers/39882.cc b/libstdc++-v3/testsuite/19_diagnostics/error_code/modifiers/39882.cc index 7da867a29bc..d810d7bae5c 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_code/modifiers/39882.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_code/modifiers/39882.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool.cc b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool.cc index 63c06f44786..0452d0b4aae 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // 2007-08-22 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool_neg.cc b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool_neg.cc index 6b7d514202f..85cb4a409de 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool_neg.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-08-22 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/equal.cc b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/equal.cc index 7a493bc022d..1b493fbb250 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/equal.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // 2007-08-22 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/not_equal.cc b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/not_equal.cc index f4814e3cea8..e4696cf7086 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/not_equal.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/not_equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // 2007-08-22 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/1.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/1.cc index c6d51f02d3a..772164cb4b9 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/1.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/39881.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/39881.cc index 2a7f0f4ec3c..d989847f56e 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/39881.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/39881.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/modifiers/39881.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/modifiers/39881.cc index 6404ed4dba2..98515c8daa2 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/modifiers/39881.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/modifiers/39881.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool.cc index b5ae7a6f4d4..ccb0def1f92 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc index ce45d7a1168..865effd266d 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/equal.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/equal.cc index 32f9d0bc6d8..ad57353f889 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/equal.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/not_equal.cc b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/not_equal.cc index 557387186d0..e8b0c2edd5c 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/not_equal.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/not_equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/34538.cc b/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/34538.cc index c65ad876271..b5834d081c9 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/34538.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/34538.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc b/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc index 529b9508353..636178ea647 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc b/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc index 1b25559ce70..c64b73ce785 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/logic_error/what-3.cc b/libstdc++-v3/testsuite/19_diagnostics/logic_error/what-3.cc index cdf0e441cab..2e6468ac751 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/logic_error/what-3.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/logic_error/what-3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/39880.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/39880.cc index 8ea95ce5604..f1f4a97a197 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/39880.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/39880.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/cons-1.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/cons-1.cc index 04798c05864..4a86e385da1 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/cons-1.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/cons-1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-06-05 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc index b0c906a41df..4f7bc36764d 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-05-29 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc index 1a770ba095b..89455b61df8 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-2.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-2.cc index f5f641571d6..c7c9d16e7cd 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-2.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-3.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-3.cc index efcde8ffb70..edb4d764609 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-3.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-4.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-4.cc index e3aff9879f2..fb6420e9cdb 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-4.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-big.cc b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-big.cc index 948ea374476..f680486c178 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/system_error/what-big.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/system_error/what-big.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_const/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/add_const/requirements/alias_decl.cc index 8783fec1f28..dd06fa31579 100644 --- a/libstdc++-v3/testsuite/20_util/add_const/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/add_const/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_const/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/add_const/requirements/explicit_instantiation.cc index 3118ae1c6c4..faa75e97c91 100644 --- a/libstdc++-v3/testsuite/20_util/add_const/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/add_const/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_const/value.cc b/libstdc++-v3/testsuite/20_util/add_const/value.cc index be71b38a556..e8fb1b1e088 100644 --- a/libstdc++-v3/testsuite/20_util/add_const/value.cc +++ b/libstdc++-v3/testsuite/20_util/add_const/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_cv/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/add_cv/requirements/alias_decl.cc index c72a4d2cbaf..d81b634f366 100644 --- a/libstdc++-v3/testsuite/20_util/add_cv/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/add_cv/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_cv/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/add_cv/requirements/explicit_instantiation.cc index d7158d155f1..33d8ec437cf 100644 --- a/libstdc++-v3/testsuite/20_util/add_cv/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/add_cv/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_cv/value.cc b/libstdc++-v3/testsuite/20_util/add_cv/value.cc index 0694ae2717a..4900e58f3c6 100644 --- a/libstdc++-v3/testsuite/20_util/add_cv/value.cc +++ b/libstdc++-v3/testsuite/20_util/add_cv/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/alias_decl.cc index 53b769d0e91..31344673fcb 100644 --- a/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/explicit_instantiation.cc index 0378eca8bf6..b2c77ac1bfe 100644 --- a/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/add_lvalue_reference/requirements/explicit_instantiation.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } + // 2007-06-02 Paolo Carlini // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/add_lvalue_reference/value.cc b/libstdc++-v3/testsuite/20_util/add_lvalue_reference/value.cc index 8b0a64431d7..e9240a48a43 100644 --- a/libstdc++-v3/testsuite/20_util/add_lvalue_reference/value.cc +++ b/libstdc++-v3/testsuite/20_util/add_lvalue_reference/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/add_pointer/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/add_pointer/requirements/alias_decl.cc index f4ab9a21fc3..a951341fd1e 100644 --- a/libstdc++-v3/testsuite/20_util/add_pointer/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/add_pointer/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_pointer/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/add_pointer/requirements/explicit_instantiation.cc index 36d395406fe..f0b9c4e1ff8 100644 --- a/libstdc++-v3/testsuite/20_util/add_pointer/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/add_pointer/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_pointer/value.cc b/libstdc++-v3/testsuite/20_util/add_pointer/value.cc index 382171c111b..e8c01680aa2 100644 --- a/libstdc++-v3/testsuite/20_util/add_pointer/value.cc +++ b/libstdc++-v3/testsuite/20_util/add_pointer/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/alias_decl.cc index 442ecf3a93d..6e565cce055 100644 --- a/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile {target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/explicit_instantiation.cc index 08221f739c2..a163c4febbd 100644 --- a/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/add_rvalue_reference/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/add_rvalue_reference/value.cc b/libstdc++-v3/testsuite/20_util/add_rvalue_reference/value.cc index 373cda60c68..07139c66af6 100644 --- a/libstdc++-v3/testsuite/20_util/add_rvalue_reference/value.cc +++ b/libstdc++-v3/testsuite/20_util/add_rvalue_reference/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/add_volatile/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/add_volatile/requirements/alias_decl.cc index 85645d01598..224c96997be 100644 --- a/libstdc++-v3/testsuite/20_util/add_volatile/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/add_volatile/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_volatile/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/add_volatile/requirements/explicit_instantiation.cc index b2b315908fd..825ae1d472d 100644 --- a/libstdc++-v3/testsuite/20_util/add_volatile/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/add_volatile/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/add_volatile/value.cc b/libstdc++-v3/testsuite/20_util/add_volatile/value.cc index a017e3c3e63..a71e7c23684 100644 --- a/libstdc++-v3/testsuite/20_util/add_volatile/value.cc +++ b/libstdc++-v3/testsuite/20_util/add_volatile/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/addressof/1.cc b/libstdc++-v3/testsuite/20_util/addressof/1.cc index 732eebcb2c5..16482cb6b93 100644 --- a/libstdc++-v3/testsuite/20_util/addressof/1.cc +++ b/libstdc++-v3/testsuite/20_util/addressof/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-05-20 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/addressof/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/addressof/requirements/explicit_instantiation.cc index 59234d76c18..8f0abe039fe 100644 --- a/libstdc++-v3/testsuite/20_util/addressof/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/addressof/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-05-20 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/align/1.cc b/libstdc++-v3/testsuite/20_util/align/1.cc index 1e9022bc976..bb037332a78 100644 --- a/libstdc++-v3/testsuite/20_util/align/1.cc +++ b/libstdc++-v3/testsuite/20_util/align/1.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-16 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/20_util/align/2.cc b/libstdc++-v3/testsuite/20_util/align/2.cc index e2d1907a460..2c43ac2e6a3 100644 --- a/libstdc++-v3/testsuite/20_util/align/2.cc +++ b/libstdc++-v3/testsuite/20_util/align/2.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/alias_decl.cc index 6b4987154e0..2b629f9a22c 100644 --- a/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/explicit_instantiation.cc index 7cddb950d90..6217bd744d4 100644 --- a/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/aligned_storage/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-09-17 Paolo Carlini // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/aligned_storage/value.cc b/libstdc++-v3/testsuite/20_util/aligned_storage/value.cc index 34237c1fc9f..cf3116b6a55 100644 --- a/libstdc++-v3/testsuite/20_util/aligned_storage/value.cc +++ b/libstdc++-v3/testsuite/20_util/aligned_storage/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-09-17 Paolo Carlini // // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/aligned_union/1.cc b/libstdc++-v3/testsuite/20_util/aligned_union/1.cc index fbf1ab15c8f..fb9177fbf12 100644 --- a/libstdc++-v3/testsuite/20_util/aligned_union/1.cc +++ b/libstdc++-v3/testsuite/20_util/aligned_union/1.cc @@ -1,5 +1,4 @@ -// { dg-options " -std=gnu++11 " } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2014-04-16 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/20_util/aligned_union/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/aligned_union/requirements/alias_decl.cc index ccd0215f482..fd9b6489cea 100644 --- a/libstdc++-v3/testsuite/20_util/aligned_union/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/aligned_union/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/alignment_of/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/alignment_of/requirements/explicit_instantiation.cc index 0bd4720a081..6af984752e7 100644 --- a/libstdc++-v3/testsuite/20_util/alignment_of/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/alignment_of/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/alignment_of/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/alignment_of/requirements/typedefs.cc index dbe12907fd4..d87167b3f49 100644 --- a/libstdc++-v3/testsuite/20_util/alignment_of/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/alignment_of/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/alignment_of/value.cc b/libstdc++-v3/testsuite/20_util/alignment_of/value.cc index 1885cc6c8d5..ad5006973f3 100644 --- a/libstdc++-v3/testsuite/20_util/alignment_of/value.cc +++ b/libstdc++-v3/testsuite/20_util/alignment_of/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc index 237b8520530..028daa99ceb 100644 --- a/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/allocator/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint.cc index 12685e0ab25..ba8eddee3ca 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc index 0160a3907bc..15f37fa03f6 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/construct.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/construct.cc index 90859d05425..6d616f1eee8 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/construct.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/construct.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc index dc64fda4654..930b0b1e6ba 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/is_always_equal.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/is_always_equal.cc index 1a00c7ce078..5f0b4de11e5 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/is_always_equal.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/is_always_equal.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/max_size.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/max_size.cc index 5f687d5465e..c274c4a76ba 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/max_size.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/max_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/select.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/select.cc index 63f6ec683fc..3539e90886a 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/select.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/select.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/explicit_instantiation.cc index aff93abbbc3..13d06a094e4 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs.cc index 038facc8658..3d30f5415f1 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11" } -// +// { 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 @@ -22,8 +22,6 @@ #include -// { dg-do compile } - template void test01() { diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs2.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs2.cc index 308463c0e54..50e68c91a32 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs2.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_traits/requirements/typedefs2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // @@ -20,8 +20,6 @@ #include #include -// { dg-do compile } - template struct ptr { diff --git a/libstdc++-v3/testsuite/20_util/bad_function_call/cons_virtual_derivation.cc b/libstdc++-v3/testsuite/20_util/bad_function_call/cons_virtual_derivation.cc index 5576e02c04e..0566cec4bc9 100644 --- a/libstdc++-v3/testsuite/20_util/bad_function_call/cons_virtual_derivation.cc +++ b/libstdc++-v3/testsuite/20_util/bad_function_call/cons_virtual_derivation.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-05-29 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/bad_function_call/what.cc b/libstdc++-v3/testsuite/20_util/bad_function_call/what.cc index 82a430ff5d0..2be6d803c8f 100644 --- a/libstdc++-v3/testsuite/20_util/bad_function_call/what.cc +++ b/libstdc++-v3/testsuite/20_util/bad_function_call/what.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/bind/35569.cc b/libstdc++-v3/testsuite/20_util/bind/35569.cc index 6364d416c15..9d5006901f7 100644 --- a/libstdc++-v3/testsuite/20_util/bind/35569.cc +++ b/libstdc++-v3/testsuite/20_util/bind/35569.cc @@ -17,8 +17,7 @@ // 20.7.11 Function template bind -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/bind/38889.cc b/libstdc++-v3/testsuite/20_util/bind/38889.cc index a33cdfcd05a..dc829e7094a 100644 --- a/libstdc++-v3/testsuite/20_util/bind/38889.cc +++ b/libstdc++-v3/testsuite/20_util/bind/38889.cc @@ -17,8 +17,7 @@ // 20.7.11 Function template bind -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/bind/42593.cc b/libstdc++-v3/testsuite/20_util/bind/42593.cc index 0427770f56a..45565fb6d42 100644 --- a/libstdc++-v3/testsuite/20_util/bind/42593.cc +++ b/libstdc++-v3/testsuite/20_util/bind/42593.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/bind/45924.cc b/libstdc++-v3/testsuite/20_util/bind/45924.cc index 3a653d950e1..30ede44af2d 100644 --- a/libstdc++-v3/testsuite/20_util/bind/45924.cc +++ b/libstdc++-v3/testsuite/20_util/bind/45924.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/bind/48698.cc b/libstdc++-v3/testsuite/20_util/bind/48698.cc index 173bb04143e..9c26cf09ac4 100644 --- a/libstdc++-v3/testsuite/20_util/bind/48698.cc +++ b/libstdc++-v3/testsuite/20_util/bind/48698.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/bind/49058_1.cc b/libstdc++-v3/testsuite/20_util/bind/49058_1.cc index 88eb919c106..aa90f0b73da 100644 --- a/libstdc++-v3/testsuite/20_util/bind/49058_1.cc +++ b/libstdc++-v3/testsuite/20_util/bind/49058_1.cc @@ -1,5 +1,5 @@ -// { dg-options "-pedantic -std=gnu++11" } -// { dg-do compile } +// { dg-options "-pedantic" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/bind/49058_2.cc b/libstdc++-v3/testsuite/20_util/bind/49058_2.cc index e8f2b8930e0..234eb157dc2 100644 --- a/libstdc++-v3/testsuite/20_util/bind/49058_2.cc +++ b/libstdc++-v3/testsuite/20_util/bind/49058_2.cc @@ -1,5 +1,5 @@ -// { dg-options "-pedantic -std=gnu++11" } -// { dg-do compile } +// { dg-options "-pedantic" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/bind/57899.cc b/libstdc++-v3/testsuite/20_util/bind/57899.cc index 841187efa2d..53dac54458a 100644 --- a/libstdc++-v3/testsuite/20_util/bind/57899.cc +++ b/libstdc++-v3/testsuite/20_util/bind/57899.cc @@ -18,8 +18,7 @@ // 20.7.11 Function template bind // PR c++/57899 -// { dg-do compile } -// { dg-options -std=gnu++11 } +// { dg-do compile { target c++11 } } #include using std::bind; diff --git a/libstdc++-v3/testsuite/20_util/bind/60497.cc b/libstdc++-v3/testsuite/20_util/bind/60497.cc index 7cdf8fc488c..0b266472844 100644 --- a/libstdc++-v3/testsuite/20_util/bind/60497.cc +++ b/libstdc++-v3/testsuite/20_util/bind/60497.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/bind/68912.cc b/libstdc++-v3/testsuite/20_util/bind/68912.cc index ef93b33ed1f..7d191411db1 100644 --- a/libstdc++-v3/testsuite/20_util/bind/68912.cc +++ b/libstdc++-v3/testsuite/20_util/bind/68912.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/bind/all_bound.cc b/libstdc++-v3/testsuite/20_util/bind/all_bound.cc index e945c23aac6..9f6570c528f 100644 --- a/libstdc++-v3/testsuite/20_util/bind/all_bound.cc +++ b/libstdc++-v3/testsuite/20_util/bind/all_bound.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/bind/conv_result.cc b/libstdc++-v3/testsuite/20_util/bind/conv_result.cc index 50ac05107f4..cf7aa1cc7fd 100644 --- a/libstdc++-v3/testsuite/20_util/bind/conv_result.cc +++ b/libstdc++-v3/testsuite/20_util/bind/conv_result.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/bind/cv_quals.cc b/libstdc++-v3/testsuite/20_util/bind/cv_quals.cc index afcaa7faae2..e81780e2c29 100644 --- a/libstdc++-v3/testsuite/20_util/bind/cv_quals.cc +++ b/libstdc++-v3/testsuite/20_util/bind/cv_quals.cc @@ -17,7 +17,7 @@ // 20.7.11 Function template bind -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/bind/cv_quals_2.cc b/libstdc++-v3/testsuite/20_util/bind/cv_quals_2.cc index bade13384bd..a3b5c3b899f 100644 --- a/libstdc++-v3/testsuite/20_util/bind/cv_quals_2.cc +++ b/libstdc++-v3/testsuite/20_util/bind/cv_quals_2.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/bind/cv_quals_3.cc b/libstdc++-v3/testsuite/20_util/bind/cv_quals_3.cc index e77b455e8bd..de73c7b56c5 100644 --- a/libstdc++-v3/testsuite/20_util/bind/cv_quals_3.cc +++ b/libstdc++-v3/testsuite/20_util/bind/cv_quals_3.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/bind/move.cc b/libstdc++-v3/testsuite/20_util/bind/move.cc index 2b42ad75257..6a2ce08a078 100644 --- a/libstdc++-v3/testsuite/20_util/bind/move.cc +++ b/libstdc++-v3/testsuite/20_util/bind/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/bind/nested.cc b/libstdc++-v3/testsuite/20_util/bind/nested.cc index b2aa45d1667..04425eff68f 100644 --- a/libstdc++-v3/testsuite/20_util/bind/nested.cc +++ b/libstdc++-v3/testsuite/20_util/bind/nested.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/bind/placeholders.cc b/libstdc++-v3/testsuite/20_util/bind/placeholders.cc index 527aecf6257..14b9ffbde71 100644 --- a/libstdc++-v3/testsuite/20_util/bind/placeholders.cc +++ b/libstdc++-v3/testsuite/20_util/bind/placeholders.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/bind/ref.cc b/libstdc++-v3/testsuite/20_util/bind/ref.cc index 1a0ee5677fe..6b7fc53621d 100644 --- a/libstdc++-v3/testsuite/20_util/bind/ref.cc +++ b/libstdc++-v3/testsuite/20_util/bind/ref.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/bind/ref2.cc b/libstdc++-v3/testsuite/20_util/bind/ref2.cc index 678bfbde15e..161a2b266e7 100644 --- a/libstdc++-v3/testsuite/20_util/bind/ref2.cc +++ b/libstdc++-v3/testsuite/20_util/bind/ref2.cc @@ -17,7 +17,7 @@ // 20.7.11 Function template bind -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/bind/refqual.cc b/libstdc++-v3/testsuite/20_util/bind/refqual.cc index 1078832c23d..51b028bf7c1 100644 --- a/libstdc++-v3/testsuite/20_util/bind/refqual.cc +++ b/libstdc++-v3/testsuite/20_util/bind/refqual.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/bind/socket.cc b/libstdc++-v3/testsuite/20_util/bind/socket.cc index 243d2e8c850..8a4fde4460e 100644 --- a/libstdc++-v3/testsuite/20_util/bind/socket.cc +++ b/libstdc++-v3/testsuite/20_util/bind/socket.cc @@ -20,8 +20,7 @@ // Verify that calls to bind() in BSD sockets API do not match std::bind() // (this is a GNU extension) -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/common_type/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/common_type/requirements/alias_decl.cc index 5d33e7b2b9e..0b2eb1531a1 100644 --- a/libstdc++-v3/testsuite/20_util/common_type/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/common_type/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/common_type/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/common_type/requirements/explicit_instantiation.cc index 6e8a81a29f9..43534d6156b 100644 --- a/libstdc++-v3/testsuite/20_util/common_type/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/common_type/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc b/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc index ec2ecd9687c..b43560dbed6 100644 --- a/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc +++ b/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc b/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc index ad5ae40ab9f..8e5b1581b19 100644 --- a/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc +++ b/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-1.cc b/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-1.cc index e18f6f5f37f..12ea6071a6d 100644 --- a/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-1.cc +++ b/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-2.cc index ea59eabe7a5..6527f2d7c20 100644 --- a/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-2.cc +++ b/libstdc++-v3/testsuite/20_util/common_type/requirements/typedefs-2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-11-12 Paolo Carlini // // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/conditional/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/conditional/requirements/alias_decl.cc index f836f2abfa8..e27b6b0f289 100644 --- a/libstdc++-v3/testsuite/20_util/conditional/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/conditional/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/conditional/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/conditional/requirements/explicit_instantiation.cc index a46b18be054..a758f4dcdbe 100644 --- a/libstdc++-v3/testsuite/20_util/conditional/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/conditional/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-05-02 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/20_util/decay/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/decay/requirements/alias_decl.cc index ba3e2af8b2e..b2aaffbbd8b 100644 --- a/libstdc++-v3/testsuite/20_util/decay/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/decay/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/decay/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/decay/requirements/explicit_instantiation.cc index 3130840cc15..9ca0eb74e49 100644 --- a/libstdc++-v3/testsuite/20_util/decay/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/decay/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-05-02 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/20_util/decay/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/decay/requirements/typedefs.cc index 7e72d0ad69d..62c566c6d93 100644 --- a/libstdc++-v3/testsuite/20_util/decay/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/decay/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-05-03 Benjamin Kosnik // diff --git a/libstdc++-v3/testsuite/20_util/declval/requirements/1.cc b/libstdc++-v3/testsuite/20_util/declval/requirements/1.cc index 838c1f752bc..a2cb88be428 100644 --- a/libstdc++-v3/testsuite/20_util/declval/requirements/1.cc +++ b/libstdc++-v3/testsuite/20_util/declval/requirements/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-11-12 Paolo Carlini // // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc b/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc index 1c05f61b064..51aa6bbacbc 100644 --- a/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc +++ b/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-11-12 Paolo Carlini // // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc b/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc index a0824480f2c..5a2c5df7f93 100644 --- a/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc +++ b/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.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. // diff --git a/libstdc++-v3/testsuite/20_util/default_delete/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/default_delete/cons/constexpr.cc index 97200fc00e0..ff893b3e80c 100644 --- a/libstdc++-v3/testsuite/20_util/default_delete/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/default_delete/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc b/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc index 5864016120b..96caa4ff7e8 100644 --- a/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc +++ b/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc index 806b43d5a64..b74ae9af8c9 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc index 77277a6d3a7..015f2abe6cf 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/58850.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/58850.cc index e4f6ec95e10..24f7f09af87 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/58850.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/58850.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/constexpr.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/constexpr.cc index 0d35980a866..285f9411ff4 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc index de5179b4a45..994e4f75bce 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc index c73016fbd8e..fb9df92c647 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc index ca31c66d8a5..2073fb8db49 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc b/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc index 2e1abd3e0fb..59d458f8426 100644 --- a/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/comparison_operators/constexpr.cc b/libstdc++-v3/testsuite/20_util/duration/comparison_operators/constexpr.cc index 95999f0e302..bbe18211434 100644 --- a/libstdc++-v3/testsuite/20_util/duration/comparison_operators/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/duration/comparison_operators/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/1.cc b/libstdc++-v3/testsuite/20_util/duration/cons/1.cc index 912d947637a..fe54142affa 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc b/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc index 3fce21b7aa3..07bf93bcd49 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/2.cc b/libstdc++-v3/testsuite/20_util/duration/cons/2.cc index 98c2efaac68..e41f09391d3 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc b/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc index 52a27cb7849..b9983e75d39 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/duration/cons/constexpr.cc index ae0dc19ae79..7254739815b 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc b/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc index 5063e8ebea7..ffd04281010 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/61166.cc b/libstdc++-v3/testsuite/20_util/duration/literals/61166.cc index e5800e596b9..bcdb6b48ba8 100644 --- a/libstdc++-v3/testsuite/20_util/duration/literals/61166.cc +++ b/libstdc++-v3/testsuite/20_util/duration/literals/61166.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/65499.cc b/libstdc++-v3/testsuite/20_util/duration/literals/65499.cc index 0d344aeb714..99350bf8af8 100644 --- a/libstdc++-v3/testsuite/20_util/duration/literals/65499.cc +++ b/libstdc++-v3/testsuite/20_util/duration/literals/65499.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // PR libstdc++/65499 diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc b/libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc index 910d9922b85..84399e47af9 100644 --- a/libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc +++ b/libstdc++-v3/testsuite/20_util/duration/literals/ns_detail.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Test error: reference to '__detail' is ambiguous diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/range.cc b/libstdc++-v3/testsuite/20_util/duration/literals/range.cc index 940236ce646..e3ef7f9a399 100644 --- a/libstdc++-v3/testsuite/20_util/duration/literals/range.cc +++ b/libstdc++-v3/testsuite/20_util/duration/literals/range.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/types.cc b/libstdc++-v3/testsuite/20_util/duration/literals/types.cc index 2daecfed864..de7058f6881 100644 --- a/libstdc++-v3/testsuite/20_util/duration/literals/types.cc +++ b/libstdc++-v3/testsuite/20_util/duration/literals/types.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/values.cc b/libstdc++-v3/testsuite/20_util/duration/literals/values.cc index 941e6467da1..6b82ad2b742 100644 --- a/libstdc++-v3/testsuite/20_util/duration/literals/values.cc +++ b/libstdc++-v3/testsuite/20_util/duration/literals/values.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/constexpr_functions.cc index b615c496db1..fd9ffa99db6 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc index 4c95e42b8af..bbc5ed9057e 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/sfinae_friendly_1.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/sfinae_friendly_1.cc index bb318cf0abb..89995568272 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/sfinae_friendly_1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/sfinae_friendly_1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc index db9a4f5bc02..8bbdbe15bd5 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // 2008-07-31 Chris Fairles @@ -28,8 +27,7 @@ void test01() // Check if rep is a duration type typedef std::chrono::duration rep_type; typedef std::chrono::duration test_type; - test_type d; + test_type d; // { dg-error "required from here" } } // { dg-error "rep cannot be a duration" "" { target *-*-* } 308 } -// { dg-error "required from here" "" { target *-*-* } 31 } diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc index e562134ffcb..91c8b54080b 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // 2008-07-31 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc index a71d5b12039..e6f8cb1a466 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // 2008-07-31 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/duration_cast/constexpr.cc b/libstdc++-v3/testsuite/20_util/duration_cast/constexpr.cc index 9cef19e1d0c..4ae2cc7386b 100644 --- a/libstdc++-v3/testsuite/20_util/duration_cast/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/duration_cast/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/enable_if/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/enable_if/requirements/alias_decl.cc index 7c730e69d72..2103c63c4d9 100644 --- a/libstdc++-v3/testsuite/20_util/enable_if/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/enable_if/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc index 93a9f6c8021..2e8c5e68516 100644 --- a/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-05-02 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc index 4c1310775c5..86f99cf1f48 100644 --- a/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-05-02 Benjamin Kosnik // diff --git a/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc b/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc index 17e559d9b3a..b047856ccb3 100644 --- a/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc +++ b/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-05-02 Benjamin Kosnik // @@ -32,4 +31,4 @@ void test01() typedef enable_if::type test2_type; } -// { dg-error "does not name a type" "" { target *-*-* } 32 } +// { dg-error "does not name a type" "" { target *-*-* } 31 } diff --git a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/56383.cc b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/56383.cc index 9e07e958523..fb3fa69d073 100644 --- a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/56383.cc +++ b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/56383.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc index 55d248a38ff..411f1502f04 100644 --- a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc @@ -1,5 +1,5 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11 -fno-inline -g0" } +// { dg-options "-fno-inline -g0" } +// { dg-do compile { target c++11 } } // { dg-final { scan-assembler-not "_ZNSt23enable_shared_from_thisIiEC2Ev" } } // { dg-final { scan-assembler-not "_ZN7derivedC2Ev" } } diff --git a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/assign.cc b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/assign.cc index 3181fdbc957..024ccb07f89 100644 --- a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/assign.cc +++ b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/const.cc b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/const.cc index 45caf641b45..874bf7b6771 100644 --- a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/const.cc +++ b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/const.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc index 2df99233b13..4d2e4f0b9c0 100644 --- a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc +++ b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/requirements/explicit_instantiation.cc index 9ea58deca0a..fe13cd50632 100644 --- a/libstdc++-v3/testsuite/20_util/enable_shared_from_this/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/enable_shared_from_this/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/exchange/1.cc b/libstdc++-v3/testsuite/20_util/exchange/1.cc index 8d1f5e34b0e..c8f3c9bb5ea 100644 --- a/libstdc++-v3/testsuite/20_util/exchange/1.cc +++ b/libstdc++-v3/testsuite/20_util/exchange/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/extent/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/extent/requirements/explicit_instantiation.cc index 84690cbfff8..842d3dbf015 100644 --- a/libstdc++-v3/testsuite/20_util/extent/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/extent/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/extent/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/extent/requirements/typedefs.cc index d3710b13014..7e22dcbb5f9 100644 --- a/libstdc++-v3/testsuite/20_util/extent/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/extent/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/extent/value.cc b/libstdc++-v3/testsuite/20_util/extent/value.cc index 4fd5a8f52b7..a26d93b98e1 100644 --- a/libstdc++-v3/testsuite/20_util/extent/value.cc +++ b/libstdc++-v3/testsuite/20_util/extent/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/forward/1.cc b/libstdc++-v3/testsuite/20_util/forward/1.cc index 6b4063280be..46c39d8f863 100644 --- a/libstdc++-v3/testsuite/20_util/forward/1.cc +++ b/libstdc++-v3/testsuite/20_util/forward/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-07-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/forward/1_neg.cc b/libstdc++-v3/testsuite/20_util/forward/1_neg.cc index 97851f2df67..d46eb9c4314 100644 --- a/libstdc++-v3/testsuite/20_util/forward/1_neg.cc +++ b/libstdc++-v3/testsuite/20_util/forward/1_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-07-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/forward/a.cc b/libstdc++-v3/testsuite/20_util/forward/a.cc index 5b996668628..b2b808afd7c 100644 --- a/libstdc++-v3/testsuite/20_util/forward/a.cc +++ b/libstdc++-v3/testsuite/20_util/forward/a.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/forward/b.cc b/libstdc++-v3/testsuite/20_util/forward/b.cc index 0e43098ea41..f2ae8da6f40 100644 --- a/libstdc++-v3/testsuite/20_util/forward/b.cc +++ b/libstdc++-v3/testsuite/20_util/forward/b.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/forward/c_neg.cc b/libstdc++-v3/testsuite/20_util/forward/c_neg.cc index 3776bd500ab..0b23625e47c 100644 --- a/libstdc++-v3/testsuite/20_util/forward/c_neg.cc +++ b/libstdc++-v3/testsuite/20_util/forward/c_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/forward/d.cc b/libstdc++-v3/testsuite/20_util/forward/d.cc index a615ecb2541..a0264161821 100644 --- a/libstdc++-v3/testsuite/20_util/forward/d.cc +++ b/libstdc++-v3/testsuite/20_util/forward/d.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/forward/e.cc b/libstdc++-v3/testsuite/20_util/forward/e.cc index 946100a4a5f..dae958b4470 100644 --- a/libstdc++-v3/testsuite/20_util/forward/e.cc +++ b/libstdc++-v3/testsuite/20_util/forward/e.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/forward/f_neg.cc b/libstdc++-v3/testsuite/20_util/forward/f_neg.cc index 2b08474b711..9796ef4399b 100644 --- a/libstdc++-v3/testsuite/20_util/forward/f_neg.cc +++ b/libstdc++-v3/testsuite/20_util/forward/f_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/forward/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/forward/requirements/explicit_instantiation.cc index 43d485e04dd..ae460f5bda5 100644 --- a/libstdc++-v3/testsuite/20_util/forward/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/forward/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-07-10 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/function/1.cc b/libstdc++-v3/testsuite/20_util/function/1.cc index 31291ec6265..4d06df33413 100644 --- a/libstdc++-v3/testsuite/20_util/function/1.cc +++ b/libstdc++-v3/testsuite/20_util/function/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/10.cc b/libstdc++-v3/testsuite/20_util/function/10.cc index c240a7a8908..c12fbe9c38c 100644 --- a/libstdc++-v3/testsuite/20_util/function/10.cc +++ b/libstdc++-v3/testsuite/20_util/function/10.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/2.cc b/libstdc++-v3/testsuite/20_util/function/2.cc index b9568167d5c..2fd6d3273e1 100644 --- a/libstdc++-v3/testsuite/20_util/function/2.cc +++ b/libstdc++-v3/testsuite/20_util/function/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/3.cc b/libstdc++-v3/testsuite/20_util/function/3.cc index 285f7c8355e..8739248134a 100644 --- a/libstdc++-v3/testsuite/20_util/function/3.cc +++ b/libstdc++-v3/testsuite/20_util/function/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/4.cc b/libstdc++-v3/testsuite/20_util/function/4.cc index b82487d1fa5..0827475d59c 100644 --- a/libstdc++-v3/testsuite/20_util/function/4.cc +++ b/libstdc++-v3/testsuite/20_util/function/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/43397.cc b/libstdc++-v3/testsuite/20_util/function/43397.cc index b80c4cf1c76..b8a268081a6 100644 --- a/libstdc++-v3/testsuite/20_util/function/43397.cc +++ b/libstdc++-v3/testsuite/20_util/function/43397.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/function/48541.cc b/libstdc++-v3/testsuite/20_util/function/48541.cc index 181c0dd7c2f..52c4b7f477f 100644 --- a/libstdc++-v3/testsuite/20_util/function/48541.cc +++ b/libstdc++-v3/testsuite/20_util/function/48541.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 diff --git a/libstdc++-v3/testsuite/20_util/function/5.cc b/libstdc++-v3/testsuite/20_util/function/5.cc index a48a20e8fae..cfaa770abb4 100644 --- a/libstdc++-v3/testsuite/20_util/function/5.cc +++ b/libstdc++-v3/testsuite/20_util/function/5.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/58569.cc b/libstdc++-v3/testsuite/20_util/function/58569.cc index e0f26eb45a6..ab5c6e8502a 100644 --- a/libstdc++-v3/testsuite/20_util/function/58569.cc +++ b/libstdc++-v3/testsuite/20_util/function/58569.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/function/6.cc b/libstdc++-v3/testsuite/20_util/function/6.cc index ea013e5f9bc..1ec27f6d710 100644 --- a/libstdc++-v3/testsuite/20_util/function/6.cc +++ b/libstdc++-v3/testsuite/20_util/function/6.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/60594.cc b/libstdc++-v3/testsuite/20_util/function/60594.cc index 66adae8277d..bdcd5a8108b 100644 --- a/libstdc++-v3/testsuite/20_util/function/60594.cc +++ b/libstdc++-v3/testsuite/20_util/function/60594.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. // diff --git a/libstdc++-v3/testsuite/20_util/function/63840.cc b/libstdc++-v3/testsuite/20_util/function/63840.cc index cb3507136bb..c9ee237c15e 100644 --- a/libstdc++-v3/testsuite/20_util/function/63840.cc +++ b/libstdc++-v3/testsuite/20_util/function/63840.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/function/65760.cc b/libstdc++-v3/testsuite/20_util/function/65760.cc index 1dad704fc4a..b4167773869 100644 --- a/libstdc++-v3/testsuite/20_util/function/65760.cc +++ b/libstdc++-v3/testsuite/20_util/function/65760.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/65760 // c.f. https://gcc.gnu.org/ml/libstdc++/2015-04/msg00116.html diff --git a/libstdc++-v3/testsuite/20_util/function/68995.cc b/libstdc++-v3/testsuite/20_util/function/68995.cc index 56906576b92..25223229220 100644 --- a/libstdc++-v3/testsuite/20_util/function/68995.cc +++ b/libstdc++-v3/testsuite/20_util/function/68995.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/function/69222.cc b/libstdc++-v3/testsuite/20_util/function/69222.cc index 7c9dfecb547..f5a114ebedc 100644 --- a/libstdc++-v3/testsuite/20_util/function/69222.cc +++ b/libstdc++-v3/testsuite/20_util/function/69222.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/function/7.cc b/libstdc++-v3/testsuite/20_util/function/7.cc index 639f59d1bcb..ef939d70796 100644 --- a/libstdc++-v3/testsuite/20_util/function/7.cc +++ b/libstdc++-v3/testsuite/20_util/function/7.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/8.cc b/libstdc++-v3/testsuite/20_util/function/8.cc index e4099dd88a7..49299a47542 100644 --- a/libstdc++-v3/testsuite/20_util/function/8.cc +++ b/libstdc++-v3/testsuite/20_util/function/8.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/9.cc b/libstdc++-v3/testsuite/20_util/function/9.cc index c3fe5b6eb07..704476ad973 100644 --- a/libstdc++-v3/testsuite/20_util/function/9.cc +++ b/libstdc++-v3/testsuite/20_util/function/9.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor // // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/function/assign/move.cc b/libstdc++-v3/testsuite/20_util/function/assign/move.cc index e7926466064..c4860eeaafc 100644 --- a/libstdc++-v3/testsuite/20_util/function/assign/move.cc +++ b/libstdc++-v3/testsuite/20_util/function/assign/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/assign/move_target.cc b/libstdc++-v3/testsuite/20_util/function/assign/move_target.cc index 912d1559b77..78ea58550ae 100644 --- a/libstdc++-v3/testsuite/20_util/function/assign/move_target.cc +++ b/libstdc++-v3/testsuite/20_util/function/assign/move_target.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/cmp/cmp_neg.cc b/libstdc++-v3/testsuite/20_util/function/cmp/cmp_neg.cc index 2b62b13f9b1..e482d2a2752 100644 --- a/libstdc++-v3/testsuite/20_util/function/cmp/cmp_neg.cc +++ b/libstdc++-v3/testsuite/20_util/function/cmp/cmp_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/cons/55320.cc b/libstdc++-v3/testsuite/20_util/function/cons/55320.cc index 7d48aba2905..d33396560ba 100644 --- a/libstdc++-v3/testsuite/20_util/function/cons/55320.cc +++ b/libstdc++-v3/testsuite/20_util/function/cons/55320.cc @@ -17,7 +17,7 @@ // libstdc++/55320 -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/function/cons/57465.cc b/libstdc++-v3/testsuite/20_util/function/cons/57465.cc index 7b13d4b285b..79789b01369 100644 --- a/libstdc++-v3/testsuite/20_util/function/cons/57465.cc +++ b/libstdc++-v3/testsuite/20_util/function/cons/57465.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/function/cons/addressof.cc b/libstdc++-v3/testsuite/20_util/function/cons/addressof.cc index 862bea6a6c1..2e293f979f7 100644 --- a/libstdc++-v3/testsuite/20_util/function/cons/addressof.cc +++ b/libstdc++-v3/testsuite/20_util/function/cons/addressof.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/function/cons/callable.cc b/libstdc++-v3/testsuite/20_util/function/cons/callable.cc index 536e1c19e44..a68a648388f 100644 --- a/libstdc++-v3/testsuite/20_util/function/cons/callable.cc +++ b/libstdc++-v3/testsuite/20_util/function/cons/callable.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/cons/move.cc b/libstdc++-v3/testsuite/20_util/function/cons/move.cc index 3bd1eda79dc..f2c1bcb3add 100644 --- a/libstdc++-v3/testsuite/20_util/function/cons/move.cc +++ b/libstdc++-v3/testsuite/20_util/function/cons/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/cons/move_target.cc b/libstdc++-v3/testsuite/20_util/function/cons/move_target.cc index 1ac666d4afb..91727f9421b 100644 --- a/libstdc++-v3/testsuite/20_util/function/cons/move_target.cc +++ b/libstdc++-v3/testsuite/20_util/function/cons/move_target.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/invoke/forwarding.cc b/libstdc++-v3/testsuite/20_util/function/invoke/forwarding.cc index 6f24ee8e746..54a7800b64d 100644 --- a/libstdc++-v3/testsuite/20_util/function/invoke/forwarding.cc +++ b/libstdc++-v3/testsuite/20_util/function/invoke/forwarding.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/function/invoke/move_only.cc b/libstdc++-v3/testsuite/20_util/function/invoke/move_only.cc index 26714b8abda..6c928de6467 100644 --- a/libstdc++-v3/testsuite/20_util/function/invoke/move_only.cc +++ b/libstdc++-v3/testsuite/20_util/function/invoke/move_only.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/null_pointer_comparisons.cc b/libstdc++-v3/testsuite/20_util/function/null_pointer_comparisons.cc index 448b64fe80f..719f285798b 100644 --- a/libstdc++-v3/testsuite/20_util/function/null_pointer_comparisons.cc +++ b/libstdc++-v3/testsuite/20_util/function/null_pointer_comparisons.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/function/requirements/explicit_instantiation.cc index bf5aa45a47b..d5b17c9cca5 100644 --- a/libstdc++-v3/testsuite/20_util/function/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/function/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function_objects/comparisons_void.cc b/libstdc++-v3/testsuite/20_util/function_objects/comparisons_void.cc index 4f237ae5fe9..6a709ba94c5 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/comparisons_void.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/comparisons_void.cc @@ -1,5 +1,4 @@ -// { dg-options " -std=gnu++14 " } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function_objects/constexpr.cc b/libstdc++-v3/testsuite/20_util/function_objects/constexpr.cc index f8046132ec5..f4d6939f4f4 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55463.cc b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55463.cc index 0c8af295fa3..abefc20e4a2 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55463.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55463.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55908.cc b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55908.cc index 1992402ad05..7da2b8f4036 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55908.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/55908.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/68982.cc b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/68982.cc index 001a3151080..6d6832ba922 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/68982.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/68982.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/adl.cc b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/adl.cc index ed404b56290..c78093269d9 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/adl.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/adl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/forward.cc b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/forward.cc index c6b42aa2649..585d4353346 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/forward.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/forward.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/refqual.cc b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/refqual.cc index 7c5770be049..032c23889af 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/refqual.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/refqual.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/explicit_instantiation.cc index 5b3fae94402..80d93c62d70 100644 --- a/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/typedefs.cc index f7e7b0aa061..7305f642c1b 100644 --- a/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/has_virtual_destructor/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/has_virtual_destructor/value.cc b/libstdc++-v3/testsuite/20_util/has_virtual_destructor/value.cc index d7fbc4519dd..3066b647a01 100644 --- a/libstdc++-v3/testsuite/20_util/has_virtual_destructor/value.cc +++ b/libstdc++-v3/testsuite/20_util/has_virtual_destructor/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/hash/52931.cc b/libstdc++-v3/testsuite/20_util/hash/52931.cc index 19706babee7..98ce61dbd70 100644 --- a/libstdc++-v3/testsuite/20_util/hash/52931.cc +++ b/libstdc++-v3/testsuite/20_util/hash/52931.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/hash/60970.cc b/libstdc++-v3/testsuite/20_util/hash/60970.cc index 3c8497f99fc..925cdedd914 100644 --- a/libstdc++-v3/testsuite/20_util/hash/60970.cc +++ b/libstdc++-v3/testsuite/20_util/hash/60970.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do run } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/hash/chi2_q_document_words.cc b/libstdc++-v3/testsuite/20_util/hash/chi2_q_document_words.cc index 3f35f0ba256..fae7bde71f8 100644 --- a/libstdc++-v3/testsuite/20_util/hash/chi2_q_document_words.cc +++ b/libstdc++-v3/testsuite/20_util/hash/chi2_q_document_words.cc @@ -1,7 +1,6 @@ // On some simulators, the workload is simply too large with values big // enough for the test to pass the quality test, so just skip it altogether. -// { dg-do run { target { ! simulator } } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target { c++11 && { ! simulator } } } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/hash/operators/size_t.cc b/libstdc++-v3/testsuite/20_util/hash/operators/size_t.cc index 3cde8316ada..e82d962678d 100644 --- a/libstdc++-v3/testsuite/20_util/hash/operators/size_t.cc +++ b/libstdc++-v3/testsuite/20_util/hash/operators/size_t.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-08-20 // // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/hash/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/hash/requirements/explicit_instantiation.cc index c9bd49e9787..e559945fd6f 100644 --- a/libstdc++-v3/testsuite/20_util/hash/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/hash/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/headers/functional/types_std_c++0x.cc b/libstdc++-v3/testsuite/20_util/headers/functional/types_std_c++0x.cc index a479a19ae08..dcfabda1e10 100644 --- a/libstdc++-v3/testsuite/20_util/headers/functional/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/20_util/headers/functional/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/headers/functional/using_namespace_std_placeholders.cc b/libstdc++-v3/testsuite/20_util/headers/functional/using_namespace_std_placeholders.cc index c2d89d1d7c2..fffa44dbd37 100644 --- a/libstdc++-v3/testsuite/20_util/headers/functional/using_namespace_std_placeholders.cc +++ b/libstdc++-v3/testsuite/20_util/headers/functional/using_namespace_std_placeholders.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/headers/memory/types_std_c++0x.cc b/libstdc++-v3/testsuite/20_util/headers/memory/types_std_c++0x.cc index 6cb00579b86..dc6477b2970 100644 --- a/libstdc++-v3/testsuite/20_util/headers/memory/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/20_util/headers/memory/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x.cc b/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x.cc index a3eaf3692ce..d3a3a314d85 100644 --- a/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc b/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc index 1c65a4b4aa1..28de84fbadf 100644 --- a/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc +++ b/libstdc++-v3/testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integer_sequence/intseq.cc b/libstdc++-v3/testsuite/20_util/integer_sequence/intseq.cc index 1c25e0da2aa..665583158fa 100644 --- a/libstdc++-v3/testsuite/20_util/integer_sequence/intseq.cc +++ b/libstdc++-v3/testsuite/20_util/integer_sequence/intseq.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integer_sequence/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/integer_sequence/requirements/typedefs.cc index 1f7052f0963..2c7d6429a2c 100644 --- a/libstdc++-v3/testsuite/20_util/integer_sequence/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/integer_sequence/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/call_operator.cc b/libstdc++-v3/testsuite/20_util/integral_constant/call_operator.cc index 8e978ba9ebf..bbf1413c1e2 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/call_operator.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/call_operator.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/operator_value_type.cc b/libstdc++-v3/testsuite/20_util/integral_constant/operator_value_type.cc index 76e89832e98..3ba7467dc8c 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/operator_value_type.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/operator_value_type.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/20_util/integral_constant/requirements/constexpr_data.cc index 75235c3df7c..edd74933828 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/integral_constant/requirements/explicit_instantiation.cc index cdf0ba85e57..db068aec6bc 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/integral_constant/requirements/typedefs.cc index afa740d3d02..0ee7aceb561 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // @@ -22,8 +22,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/static_definition.cc b/libstdc++-v3/testsuite/20_util/integral_constant/static_definition.cc index c6b41d336d2..58ae045917e 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/static_definition.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/static_definition.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/true_false_type_typedefs.cc b/libstdc++-v3/testsuite/20_util/integral_constant/true_false_type_typedefs.cc index 5f2cafee1fe..eef6ffadd34 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/true_false_type_typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/true_false_type_typedefs.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11" } -// +// { dg-do compile { target c++11 } } + // Copyright (C) 2013-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -22,8 +22,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/integral_constant/true_false_value.cc b/libstdc++-v3/testsuite/20_util/integral_constant/true_false_value.cc index a1ce6370f3c..53866139d7c 100644 --- a/libstdc++-v3/testsuite/20_util/integral_constant/true_false_value.cc +++ b/libstdc++-v3/testsuite/20_util/integral_constant/true_false_value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_abstract/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_abstract/requirements/explicit_instantiation.cc index 6ca02c894ea..f8ec16201e5 100644 --- a/libstdc++-v3/testsuite/20_util/is_abstract/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_abstract/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_abstract/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_abstract/requirements/typedefs.cc index 7850a8e8c1c..32fceb12d44 100644 --- a/libstdc++-v3/testsuite/20_util/is_abstract/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_abstract/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_abstract/value.cc b/libstdc++-v3/testsuite/20_util/is_abstract/value.cc index db5adf93ae4..ef5cefc4d32 100644 --- a/libstdc++-v3/testsuite/20_util/is_abstract/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_abstract/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/explicit_instantiation.cc index 3b98974064f..3dfa2af5e9f 100644 --- a/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/typedefs.cc index 46aec8c5f11..2d3d89a2b0b 100644 --- a/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_arithmetic/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_arithmetic/value.cc b/libstdc++-v3/testsuite/20_util/is_arithmetic/value.cc index 7fe19362eb2..a664c9499e6 100644 --- a/libstdc++-v3/testsuite/20_util/is_arithmetic/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_arithmetic/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_array/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_array/requirements/explicit_instantiation.cc index 1e65083edf6..d8134865587 100644 --- a/libstdc++-v3/testsuite/20_util/is_array/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_array/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_array/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_array/requirements/typedefs.cc index 89bef882922..854a308d11e 100644 --- a/libstdc++-v3/testsuite/20_util/is_array/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_array/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_array/value.cc b/libstdc++-v3/testsuite/20_util/is_array/value.cc index 382e36544f9..2531041afe1 100644 --- a/libstdc++-v3/testsuite/20_util/is_array/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_array/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_assignable/requirements/explicit_instantiation.cc index 76a2fcc1685..e865c6fbcfe 100644 --- a/libstdc++-v3/testsuite/20_util/is_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/is_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_assignable/requirements/typedefs.cc index ae07c6f71ba..de36c33813e 100644 --- a/libstdc++-v3/testsuite/20_util/is_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_assignable/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_assignable/value.cc index b65da17188d..04ba555b14a 100644 --- a/libstdc++-v3/testsuite/20_util/is_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_assignable/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_base_of/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_base_of/requirements/explicit_instantiation.cc index 09c44ee3645..eb30be7fff6 100644 --- a/libstdc++-v3/testsuite/20_util/is_base_of/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_base_of/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_base_of/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_base_of/requirements/typedefs.cc index 97cf33fe780..da67791a471 100644 --- a/libstdc++-v3/testsuite/20_util/is_base_of/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_base_of/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_base_of/value.cc b/libstdc++-v3/testsuite/20_util/is_base_of/value.cc index 8dc66301b2d..c1f07b165f9 100644 --- a/libstdc++-v3/testsuite/20_util/is_base_of/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_base_of/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_class/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_class/requirements/explicit_instantiation.cc index 9740c3775e7..b33392c3964 100644 --- a/libstdc++-v3/testsuite/20_util/is_class/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_class/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_class/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_class/requirements/typedefs.cc index 7f2f9a9e953..59769bd1591 100644 --- a/libstdc++-v3/testsuite/20_util/is_class/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_class/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_class/value.cc b/libstdc++-v3/testsuite/20_util/is_class/value.cc index f401fdee1d7..38d54059a65 100644 --- a/libstdc++-v3/testsuite/20_util/is_class/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_class/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_compound/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_compound/requirements/explicit_instantiation.cc index 69f90a8f37e..a000a3d68bb 100644 --- a/libstdc++-v3/testsuite/20_util/is_compound/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_compound/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_compound/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_compound/requirements/typedefs.cc index 932dc683493..2b4c8e6d858 100644 --- a/libstdc++-v3/testsuite/20_util/is_compound/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_compound/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_compound/value.cc b/libstdc++-v3/testsuite/20_util/is_compound/value.cc index e30a271f2d1..6347f14844f 100644 --- a/libstdc++-v3/testsuite/20_util/is_compound/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_compound/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_const/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_const/requirements/explicit_instantiation.cc index c7a65f3fde0..b0c7bddd00d 100644 --- a/libstdc++-v3/testsuite/20_util/is_const/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_const/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_const/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_const/requirements/typedefs.cc index c4d79a66e61..8daa8a143fa 100644 --- a/libstdc++-v3/testsuite/20_util/is_const/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_const/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_const/value.cc b/libstdc++-v3/testsuite/20_util/is_const/value.cc index 367cea2e588..5d2d0a8c8b8 100644 --- a/libstdc++-v3/testsuite/20_util/is_const/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_const/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_constructible/51185.cc b/libstdc++-v3/testsuite/20_util/is_constructible/51185.cc index e37aa46763b..b6a1a0936e3 100644 --- a/libstdc++-v3/testsuite/20_util/is_constructible/51185.cc +++ b/libstdc++-v3/testsuite/20_util/is_constructible/51185.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_constructible/requirements/explicit_instantiation.cc index d2c28d28f61..c2d0fa197a5 100644 --- a/libstdc++-v3/testsuite/20_util/is_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-12-30 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/is_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_constructible/requirements/typedefs.cc index c36febd1193..d7c04bcde91 100644 --- a/libstdc++-v3/testsuite/20_util/is_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_constructible/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-12-30 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_constructible/value-2.cc b/libstdc++-v3/testsuite/20_util/is_constructible/value-2.cc index 3597a35c394..2b0c1d7a1d1 100644 --- a/libstdc++-v3/testsuite/20_util/is_constructible/value-2.cc +++ b/libstdc++-v3/testsuite/20_util/is_constructible/value-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. // diff --git a/libstdc++-v3/testsuite/20_util/is_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_constructible/value.cc index f8af740de8c..c222aa88df8 100644 --- a/libstdc++-v3/testsuite/20_util/is_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/is_convertible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_convertible/requirements/explicit_instantiation.cc index e3ca73812b5..2535e36983a 100644 --- a/libstdc++-v3/testsuite/20_util/is_convertible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_convertible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-10-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/is_convertible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_convertible/requirements/typedefs.cc index bf5e337a5b0..4e27e8ff9bd 100644 --- a/libstdc++-v3/testsuite/20_util/is_convertible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_convertible/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-10-29 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_convertible/value.cc b/libstdc++-v3/testsuite/20_util/is_convertible/value.cc index 02c99875f96..32b633c8a68 100644 --- a/libstdc++-v3/testsuite/20_util/is_convertible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_convertible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2009-10-29 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/explicit_instantiation.cc index c007f4a065b..488ea2f49cb 100644 --- a/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/typedefs.cc index 761b5e5aa41..4f6bd950028 100644 --- a/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_copy_assignable/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // // Copyright (C) 2011-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_copy_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_copy_assignable/value.cc index d3b963f18db..e8e155b9e7d 100644 --- a/libstdc++-v3/testsuite/20_util/is_copy_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_copy_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/explicit_instantiation.cc index 8b89b7b0aac..311412a8334 100644 --- a/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/typedefs.cc index f8ae5eebe2b..ba02bd32d71 100644 --- a/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_copy_constructible/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_copy_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_copy_constructible/value.cc index 5751223ddd4..4baaae35199 100644 --- a/libstdc++-v3/testsuite/20_util/is_copy_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_copy_constructible/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/explicit_instantiation.cc index cf831eaf8e4..c176a83acab 100644 --- a/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/typedefs.cc index 77ac6565dbb..0036cd4afe4 100644 --- a/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_default_constructible/requirements/typedefs.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. // @@ -23,8 +22,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_default_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_default_constructible/value.cc index 3bba085b9e1..eebbf84cd27 100644 --- a/libstdc++-v3/testsuite/20_util/is_default_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_default_constructible/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_destructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_destructible/requirements/explicit_instantiation.cc index c4401462a51..0de95e09e79 100644 --- a/libstdc++-v3/testsuite/20_util/is_destructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_destructible/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_destructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_destructible/requirements/typedefs.cc index ee3c29c74d7..a4e1862c3b0 100644 --- a/libstdc++-v3/testsuite/20_util/is_destructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_destructible/requirements/typedefs.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. // @@ -23,8 +22,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_destructible/value.cc b/libstdc++-v3/testsuite/20_util/is_destructible/value.cc index b2b0f2636d3..598a2c5c799 100644 --- a/libstdc++-v3/testsuite/20_util/is_destructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_destructible/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_empty/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_empty/requirements/explicit_instantiation.cc index cbdf0a2a042..27458140933 100644 --- a/libstdc++-v3/testsuite/20_util/is_empty/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_empty/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_empty/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_empty/requirements/typedefs.cc index 1f1c2d3f226..30cbba08757 100644 --- a/libstdc++-v3/testsuite/20_util/is_empty/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_empty/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_empty/value.cc b/libstdc++-v3/testsuite/20_util/is_empty/value.cc index 633288dcd9c..4e96cb3af02 100644 --- a/libstdc++-v3/testsuite/20_util/is_empty/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_empty/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_enum/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_enum/requirements/explicit_instantiation.cc index 2dafbfd40e5..3ac3c6f2fcb 100644 --- a/libstdc++-v3/testsuite/20_util/is_enum/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_enum/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_enum/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_enum/requirements/typedefs.cc index 4ce47996f82..c7ada54feed 100644 --- a/libstdc++-v3/testsuite/20_util/is_enum/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_enum/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_enum/value.cc b/libstdc++-v3/testsuite/20_util/is_enum/value.cc index b8695f030f5..de08f91fb1b 100644 --- a/libstdc++-v3/testsuite/20_util/is_enum/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_enum/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_final/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_final/requirements/explicit_instantiation.cc index 2fd1a1e4b3c..2a7daf056ea 100644 --- a/libstdc++-v3/testsuite/20_util/is_final/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_final/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_final/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_final/requirements/typedefs.cc index bacf7d1b81a..e80e8ac8bf3 100644 --- a/libstdc++-v3/testsuite/20_util/is_final/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_final/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_final/value.cc b/libstdc++-v3/testsuite/20_util/is_final/value.cc index 06e54f497db..b3cf6a4c6ab 100644 --- a/libstdc++-v3/testsuite/20_util/is_final/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_final/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/explicit_instantiation.cc index 12946dadddb..362c0007dd2 100644 --- a/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/typedefs.cc index 4001612b587..fd1cb395333 100644 --- a/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_floating_point/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,8 +22,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc b/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc index c2736fae3f7..3fd4887b342 100644 --- a/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_floating_point/value.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-pedantic" } -// { dg-do compile } +// { dg-options "-Wno-pedantic" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_function/24808.cc b/libstdc++-v3/testsuite/20_util/is_function/24808.cc index baff9d83584..eeec1ecc675 100644 --- a/libstdc++-v3/testsuite/20_util/is_function/24808.cc +++ b/libstdc++-v3/testsuite/20_util/is_function/24808.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_function/35637.cc b/libstdc++-v3/testsuite/20_util/is_function/35637.cc index cbe317fc705..15b2ef88cf8 100644 --- a/libstdc++-v3/testsuite/20_util/is_function/35637.cc +++ b/libstdc++-v3/testsuite/20_util/is_function/35637.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -pedantic-errors" } -// { dg-do compile } +// { dg-options "-pedantic-errors" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_function/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_function/requirements/explicit_instantiation.cc index b5fc64434cf..45134f87642 100644 --- a/libstdc++-v3/testsuite/20_util/is_function/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_function/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_function/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_function/requirements/typedefs.cc index 5a51b2caca2..2c2edac9db7 100644 --- a/libstdc++-v3/testsuite/20_util/is_function/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_function/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_function/value.cc b/libstdc++-v3/testsuite/20_util/is_function/value.cc index 05f82d8d14c..5dc5a3f7e2f 100644 --- a/libstdc++-v3/testsuite/20_util/is_function/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_function/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/explicit_instantiation.cc index b456acaea45..15795c5ae3d 100644 --- a/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/typedefs.cc index c98b70d8a35..3715ddaa915 100644 --- a/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_fundamental/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_fundamental/value.cc b/libstdc++-v3/testsuite/20_util/is_fundamental/value.cc index 8719f45fcc1..2c0a8cb5642 100644 --- a/libstdc++-v3/testsuite/20_util/is_fundamental/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_fundamental/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/explicit_instantiation.cc index 9f2cdd8a096..1672cec5785 100644 --- a/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/typedefs.cc index 93980cea60e..653a422a364 100644 --- a/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/value.cc index a00d24cc569..b3d6e221fbc 100644 --- a/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_implicitly_default_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_integral/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_integral/requirements/explicit_instantiation.cc index e6a913d212c..f542364f663 100644 --- a/libstdc++-v3/testsuite/20_util/is_integral/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_integral/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-05-20 Paolo Carlini // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_integral/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_integral/requirements/typedefs.cc index 8218724bda1..dd6dd907458 100644 --- a/libstdc++-v3/testsuite/20_util/is_integral/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_integral/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-05-20 Paolo Carlini // // Copyright (C) 2008-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_integral/value.cc b/libstdc++-v3/testsuite/20_util/is_integral/value.cc index 56974dcd502..7db03603c5d 100644 --- a/libstdc++-v3/testsuite/20_util/is_integral/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_integral/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/explicit_instantiation.cc index 4e63f52057e..aa66d8b45c7 100644 --- a/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-02-21 Paolo Carlini // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/typedefs.cc index b2bd0e6f45a..5d300311907 100644 --- a/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_literal_type/requirements/typedefs.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } + // 2010-02-21 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. @@ -23,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_literal_type/value.cc b/libstdc++-v3/testsuite/20_util/is_literal_type/value.cc index a88dafbb68b..f76f30b105f 100644 --- a/libstdc++-v3/testsuite/20_util/is_literal_type/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_literal_type/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-03-23 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/explicit_instantiation.cc index 39b8c80e225..e9667be3933 100644 --- a/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/typedefs.cc index ac809c023a2..897644bcaf3 100644 --- a/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_lvalue_reference/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // // Copyright (C) 2007-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_lvalue_reference/value.cc b/libstdc++-v3/testsuite/20_util/is_lvalue_reference/value.cc index 47fecf973dc..b846a7fa99b 100644 --- a/libstdc++-v3/testsuite/20_util/is_lvalue_reference/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_lvalue_reference/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/explicit_instantiation.cc index c7df0915a00..9600c723ee9 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/typedefs.cc index 0d5c4f50e1c..7ab0ec379e3 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/value.cc b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/value.cc index c062c3e8cf4..86573c82d2e 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_function_pointer/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_function_pointer/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/explicit_instantiation.cc index a271d60ec68..76a1b1bf0c6 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/typedefs.cc index 4de980af664..e9b316474bc 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_object_pointer/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_object_pointer/value.cc b/libstdc++-v3/testsuite/20_util/is_member_object_pointer/value.cc index d9a2d401f9f..3cba04d457f 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_object_pointer/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_object_pointer/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/explicit_instantiation.cc index 097cd579bf3..a201c3bf9f8 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/typedefs.cc index fb63d8347a8..2d4f69dc018 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_pointer/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_member_pointer/value.cc b/libstdc++-v3/testsuite/20_util/is_member_pointer/value.cc index 91158f934ea..7bc64ed64f4 100644 --- a/libstdc++-v3/testsuite/20_util/is_member_pointer/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_member_pointer/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/explicit_instantiation.cc index 1468cfc6dc1..651d9c1b4b6 100644 --- a/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/typedefs.cc index fb020b5fabd..940aaf22f11 100644 --- a/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_move_assignable/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // // Copyright (C) 2011-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_move_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_move_assignable/value.cc index 2bd6bbfc559..f9e82cc5336 100644 --- a/libstdc++-v3/testsuite/20_util/is_move_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_move_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/explicit_instantiation.cc index 429d5a4438c..4ef57bd4d5b 100644 --- a/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/typedefs.cc index cffaf45f254..12fd828174d 100644 --- a/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_move_constructible/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_move_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_move_constructible/value.cc index e6d02db4de5..ca3f16a9c9b 100644 --- a/libstdc++-v3/testsuite/20_util/is_move_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_move_constructible/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/explicit_instantiation.cc index 12bc2f86610..193b74d5b70 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc index 1dee14fa146..b1430acca38 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/value.cc index 478b3221a2a..eca0b0e8d24 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/explicit_instantiation.cc index 7a1c3ce00fd..92965f4a9ff 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-06-09 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/typedefs.cc index 7c1d6cad6e8..07a7be7a1c2 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-06-09 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/value.cc index 97753dad1d9..e6182f8f07d 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-06-09 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/explicit_instantiation.cc index 569f6a5a222..f25525a1c2a 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-06-08 Paolo Carlini // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/typedefs.cc index 4ebc535ee05..80f713ecd2b 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2010-06-08 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/value.cc index 2756aabe194..88c3a3da36d 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-06-08 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/explicit_instantiation.cc index 5efacd35766..ce73cc5433a 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-04-30 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/typedefs.cc index 9d47d13d0fa..2bdd340a31a 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2004-12-30 Paolo Carlini // // Copyright (C) 2004-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/value.cc index 39881bf11f0..2bb673098c0 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_copy_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2004-12-30 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/explicit_instantiation.cc index 14c0214798b..53763205ec7 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-04-30 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/typedefs.cc index 858720535fd..59d247729f4 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2004-12-29 Paolo Carlini // // Copyright (C) 2004-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/value.cc index 535f415cc9a..83fd2b9a5df 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_default_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2004-12-29 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/explicit_instantiation.cc index af1b83c9c30..6b9e6a916b5 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/typedefs.cc index 2053b6b17b2..6f07f2ba416 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/requirements/typedefs.cc @@ -1,6 +1,3 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } - // Copyright (C) 2012-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -23,7 +20,7 @@ #include -// { dg-do compile } +// { dg-do compile { target c++11 } } void test01() { diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/value.cc index c046b9fa4bf..3f2ee8b7c47 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_destructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/explicit_instantiation.cc index 17724a8f842..84d969af371 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/typedefs.cc index 58db1a42f1d..420bd7a1981 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // // Copyright (C) 2011-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/value.cc index 93521e53a22..b9244b54d2c 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_move_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/explicit_instantiation.cc index a9b3bc633e5..0a02401d0b4 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/typedefs.cc index 99430fa66d6..f13b393f758 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/value.cc index 6a1bd222e26..82bc978317a 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_move_constructible/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/explicit_instantiation_ext.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/explicit_instantiation_ext.cc index fd243004524..e053b918f70 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/explicit_instantiation_ext.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/explicit_instantiation_ext.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/typedefs_ext.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/typedefs_ext.cc index fa23a745f6c..97863fc3be7 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/typedefs_ext.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/requirements/typedefs_ext.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/value_ext.cc b/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/value_ext.cc index daf5a915970..0fe6890c47e 100644 --- a/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/value_ext.cc +++ b/libstdc++-v3/testsuite/20_util/is_nothrow_swappable/value_ext.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } +// { dg-skip-if "skip if __STRICT_ANSI__ defined" { *-*-* } { "-std=c++??" } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/explicit_instantiation.cc index aeb802ef123..aba678b28d8 100644 --- a/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2013-05-02 Paolo Carlini // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/typedefs.cc index 829f17676a7..8fabf1518b2 100644 --- a/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_null_pointer/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2013-05-02 Paolo Carlini // // Copyright (C) 2013-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_null_pointer/value.cc b/libstdc++-v3/testsuite/20_util/is_null_pointer/value.cc index f0033be20ae..c150154d446 100644 --- a/libstdc++-v3/testsuite/20_util/is_null_pointer/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_null_pointer/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2013-05-02 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_object/24808.cc b/libstdc++-v3/testsuite/20_util/is_object/24808.cc index 18a96dac16d..f209ca2769f 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/24808.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/24808.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.cc index 39cf331b9b4..c821ea72c94 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc index 46fe9ec1d1e..1240d873854 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/requirements/typedefs.cc @@ -1,6 +1,3 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } - // Copyright (C) 2011-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -23,7 +20,7 @@ #include -// { dg-do compile } +// { dg-do compile { target c++11 } } void test01() { diff --git a/libstdc++-v3/testsuite/20_util/is_object/value.cc b/libstdc++-v3/testsuite/20_util/is_object/value.cc index e77aa929bf9..25eea44d5e2 100644 --- a/libstdc++-v3/testsuite/20_util/is_object/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_object/value.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. // diff --git a/libstdc++-v3/testsuite/20_util/is_pod/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_pod/requirements/explicit_instantiation.cc index ff9e1552bbe..0090fe5aa51 100644 --- a/libstdc++-v3/testsuite/20_util/is_pod/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_pod/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-02-21 Paolo Carlini // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_pod/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_pod/requirements/typedefs.cc index fab95880e1c..06a4cbfd307 100644 --- a/libstdc++-v3/testsuite/20_util/is_pod/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_pod/requirements/typedefs.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } + // 2010-02-21 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. @@ -23,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_pod/value.cc b/libstdc++-v3/testsuite/20_util/is_pod/value.cc index 0f947b58bae..cd5cd7178ca 100644 --- a/libstdc++-v3/testsuite/20_util/is_pod/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_pod/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-02-21 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_pointer/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_pointer/requirements/explicit_instantiation.cc index 15d44807e73..00f2a55a3da 100644 --- a/libstdc++-v3/testsuite/20_util/is_pointer/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_pointer/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_pointer/value.cc b/libstdc++-v3/testsuite/20_util/is_pointer/value.cc index 147b8bf8228..2fafcda66be 100644 --- a/libstdc++-v3/testsuite/20_util/is_pointer/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_pointer/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/explicit_instantiation.cc index 692fb36e5fc..03a039a25bf 100644 --- a/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/typedefs.cc index b75be6f628f..f36b25b1e5b 100644 --- a/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_polymorphic/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_polymorphic/value.cc b/libstdc++-v3/testsuite/20_util/is_polymorphic/value.cc index 46cce342961..6f9ee6e5440 100644 --- a/libstdc++-v3/testsuite/20_util/is_polymorphic/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_polymorphic/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc index 892b64b0438..3714b09cc08 100644 --- a/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_reference/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc index 500ef8c6657..9e647db79d3 100644 --- a/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_reference/requirements/typedefs.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // 2007-06-02 Paolo Carlini // // Copyright (C) 2007-2016 Free Software Foundation, Inc. @@ -23,7 +22,7 @@ #include -// { dg-do compile } +// { dg-do compile { target c++11 } } void test01() { diff --git a/libstdc++-v3/testsuite/20_util/is_reference/value.cc b/libstdc++-v3/testsuite/20_util/is_reference/value.cc index 44e7e88af51..7c9ab0316bd 100644 --- a/libstdc++-v3/testsuite/20_util/is_reference/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_reference/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/explicit_instantiation.cc index 355637d67fc..a11d3963623 100644 --- a/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/typedefs.cc index c6d47880676..24eff841dc6 100644 --- a/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_rvalue_reference/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // // Copyright (C) 2007-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_rvalue_reference/value.cc b/libstdc++-v3/testsuite/20_util/is_rvalue_reference/value.cc index 4ad45de9f49..23ff78468cd 100644 --- a/libstdc++-v3/testsuite/20_util/is_rvalue_reference/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_rvalue_reference/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_same/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_same/requirements/explicit_instantiation.cc index cda68bb3889..15260cb06a1 100644 --- a/libstdc++-v3/testsuite/20_util/is_same/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_same/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_same/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_same/requirements/typedefs.cc index 1e4c8a453fd..fd0611e313f 100644 --- a/libstdc++-v3/testsuite/20_util/is_same/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_same/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_same/value.cc b/libstdc++-v3/testsuite/20_util/is_same/value.cc index e827e7a9dd3..efe669f037f 100644 --- a/libstdc++-v3/testsuite/20_util/is_same/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_same/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_scalar/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_scalar/requirements/explicit_instantiation.cc index 46636fbfad3..b2a8872001c 100644 --- a/libstdc++-v3/testsuite/20_util/is_scalar/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_scalar/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_scalar/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_scalar/requirements/typedefs.cc index 8e5357244fb..4a63137c255 100644 --- a/libstdc++-v3/testsuite/20_util/is_scalar/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_scalar/requirements/typedefs.cc @@ -22,8 +22,7 @@ #include -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } void test01() { diff --git a/libstdc++-v3/testsuite/20_util/is_scalar/value.cc b/libstdc++-v3/testsuite/20_util/is_scalar/value.cc index c55c39a8d7c..67e4c255b68 100644 --- a/libstdc++-v3/testsuite/20_util/is_scalar/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_scalar/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-11-30 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_signed/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_signed/requirements/explicit_instantiation.cc index 53938c07c85..00664e5a6a6 100644 --- a/libstdc++-v3/testsuite/20_util/is_signed/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_signed/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-04-30 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_signed/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_signed/requirements/typedefs.cc index c20bc2664f6..5c36d2065d9 100644 --- a/libstdc++-v3/testsuite/20_util/is_signed/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_signed/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2005-01-24 Paolo Carlini // // Copyright (C) 2005-2016 Free Software Foundation, Inc. @@ -23,7 +23,6 @@ #include -// { dg-do compile } void test01() { diff --git a/libstdc++-v3/testsuite/20_util/is_signed/value.cc b/libstdc++-v3/testsuite/20_util/is_signed/value.cc index 2e251035faa..645c0023239 100644 --- a/libstdc++-v3/testsuite/20_util/is_signed/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_signed/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2005-01-24 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/explicit_instantiation.cc index 563b0c8c419..762c59c2cbd 100644 --- a/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-02-21 Paolo Carlini // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/typedefs.cc index 2de2a02c5e0..d180a03c062 100644 --- a/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_standard_layout/requiremenents/typedefs.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } + // 2010-02-21 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. @@ -23,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_standard_layout/value.cc b/libstdc++-v3/testsuite/20_util/is_standard_layout/value.cc index 3fade5a292d..c4fad1603ff 100644 --- a/libstdc++-v3/testsuite/20_util/is_standard_layout/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_standard_layout/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-03-23 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_swappable/requirements/explicit_instantiation_ext.cc b/libstdc++-v3/testsuite/20_util/is_swappable/requirements/explicit_instantiation_ext.cc index 7afe3171608..907c38be1ed 100644 --- a/libstdc++-v3/testsuite/20_util/is_swappable/requirements/explicit_instantiation_ext.cc +++ b/libstdc++-v3/testsuite/20_util/is_swappable/requirements/explicit_instantiation_ext.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_swappable/requirements/typedefs_ext.cc b/libstdc++-v3/testsuite/20_util/is_swappable/requirements/typedefs_ext.cc index 8b697e6ecb3..3a5fad15bb7 100644 --- a/libstdc++-v3/testsuite/20_util/is_swappable/requirements/typedefs_ext.cc +++ b/libstdc++-v3/testsuite/20_util/is_swappable/requirements/typedefs_ext.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_swappable/value_ext.cc b/libstdc++-v3/testsuite/20_util/is_swappable/value_ext.cc index c7e3384d35e..ba358152a1c 100644 --- a/libstdc++-v3/testsuite/20_util/is_swappable/value_ext.cc +++ b/libstdc++-v3/testsuite/20_util/is_swappable/value_ext.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_trivial/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivial/requirements/explicit_instantiation.cc index 779b884e112..c6760274e99 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivial/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivial/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-02-21 Paolo Carlini // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_trivial/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivial/requirements/typedefs.cc index 9b8afb561c5..7c77b783eea 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivial/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivial/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2010-02-21 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivial/value.cc b/libstdc++-v3/testsuite/20_util/is_trivial/value.cc index 4d0d5415f75..2468b2c2742 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivial/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivial/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-03-23 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/explicit_instantiation.cc index c1b1973e0cb..1903a111255 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/typedefs.cc index 6665d992ded..a79cf8e6aab 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_assignable/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_assignable/value.cc index 753c4f726c6..98e86a7435a 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/explicit_instantiation.cc index 01b1c2c51b0..a46bc98e24a 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/typedefs.cc index 84fefbbe9b8..6459a138e11 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc index 4fe3fed974c..1e9a30e3ce5 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/explicit_instantiation.cc index b278e1f7804..9829e48e767 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/typedefs.cc index f0dbe47d791..142868fd5dd 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/value.cc index fb93a727d62..535805fea12 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copy_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/explicit_instantiation.cc index a34046c417a..6044232fa1b 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/typedefs.cc index f087768a732..429ea37f114 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/value.cc index 1f90f5f68b6..710868424ff 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copy_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/explicit_instantiation.cc index 11bd4beabb4..33deb632338 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/typedefs.cc index 593166b7c72..4ddf253dc76 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copyable/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_copyable/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_copyable/value.cc index fa087dba87c..5a1d94f726b 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_copyable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_copyable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/explicit_instantiation.cc index 391d5ba1e2e..9c1b019d4cb 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/typedefs.cc index 874502f2d06..ad31c85259e 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/value.cc index f98b4b66bc8..9943d664008 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_default_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/explicit_instantiation.cc index 1174101f82b..f8a237067f9 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2012-04-15 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/typedefs.cc index 9e7c4ade926..40afba73a53 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_destructible/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2012-04-15 Paolo Carlini // @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_destructible/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_destructible/value.cc index 075072f41d8..9f60dfe2269 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_destructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_destructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2012-04-15 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/explicit_instantiation.cc index 0404ce02329..4ad1d410892 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/typedefs.cc index 47f5e49a8ad..001c4a1dc5a 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/requirements/typedefs.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11" } -// +// { dg-do compile { target c++11 } } + // 2014-10-09 Ville Voutilainen // // Copyright (C) 2014-2016 Free Software Foundation, Inc. @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/value.cc index eb9601a75c8..0f3acb594a2 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_move_assignable/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/explicit_instantiation.cc index fa0e47f2edb..542dbf2dd98 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/typedefs.cc index 2942adb13bb..9bb84bb8e9f 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/requirements/typedefs.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11" } -// +// { dg-do compile { target c++11 } } + // 2014-10-09 Ville Voutilainen // // Copyright (C) 2014-2016 Free Software Foundation, Inc. @@ -24,8 +24,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/value.cc index 5ecbd523f32..04f4d15c6d3 100644 --- a/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_trivially_move_constructible/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2014-10-09 Ville Voutilainen // diff --git a/libstdc++-v3/testsuite/20_util/is_union/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_union/requirements/explicit_instantiation.cc index 503065efe47..094b496c92f 100644 --- a/libstdc++-v3/testsuite/20_util/is_union/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_union/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_union/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_union/requirements/typedefs.cc index 0e35558483d..11dd16e43f6 100644 --- a/libstdc++-v3/testsuite/20_util/is_union/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_union/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_union/value.cc b/libstdc++-v3/testsuite/20_util/is_union/value.cc index d03bc1915a3..c7611276e9d 100644 --- a/libstdc++-v3/testsuite/20_util/is_union/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_union/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc index d8d890c990f..bccc1793dfa 100644 --- a/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-04-30 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/typedefs.cc index 0677dec8e3d..df2c24af379 100644 --- a/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_unsigned/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2005-01-24 Paolo Carlini // // Copyright (C) 2005-2016 Free Software Foundation, Inc. @@ -23,8 +23,6 @@ #include -// { dg-do compile } - void test01() { // Check for required typedefs diff --git a/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc b/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc index 75bec3b379a..50735118bb8 100644 --- a/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_unsigned/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2005-01-24 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/is_void/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_void/requirements/explicit_instantiation.cc index 03f03ef189e..55ebd36449c 100644 --- a/libstdc++-v3/testsuite/20_util/is_void/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_void/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_void/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_void/requirements/typedefs.cc index 0bb7470c2ac..e0377d89765 100644 --- a/libstdc++-v3/testsuite/20_util/is_void/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_void/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_void/value.cc b/libstdc++-v3/testsuite/20_util/is_void/value.cc index b3b138494c6..d29a2d9a4b1 100644 --- a/libstdc++-v3/testsuite/20_util/is_void/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_void/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_volatile/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/is_volatile/requirements/explicit_instantiation.cc index 3be4f6a36b6..b74fb5c9278 100644 --- a/libstdc++-v3/testsuite/20_util/is_volatile/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/is_volatile/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_volatile/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/is_volatile/requirements/typedefs.cc index faa3f54ae31..cbdb206a05c 100644 --- a/libstdc++-v3/testsuite/20_util/is_volatile/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/is_volatile/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/is_volatile/value.cc b/libstdc++-v3/testsuite/20_util/is_volatile/value.cc index 4df9a5e1d3c..10a29fb6a4b 100644 --- a/libstdc++-v3/testsuite/20_util/is_volatile/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_volatile/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/alias_decl.cc index 928ecd40caa..4478e60042c 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/explicit_instantiation.cc index 6d03fb826d6..e43c878ae66 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-04-30 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc index 40b9fb8b73d..726d6f9771b 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-05-03 Benjamin Kosnik // diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc index 1da917336c2..a3eef57bac5 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -funsigned-char -fshort-enums" } -// { dg-do compile } +// { dg-options "-funsigned-char -fshort-enums" } +// { dg-do compile { target c++11 } } // 2007-05-03 Benjamin Kosnik // diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-3.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-3.cc index 198256bd754..b4bdb1bc964 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-3.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc index a9ce243c566..a3112e27a19 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc index 69e21b64035..d22ac960654 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-05-03 Benjamin Kosnik // @@ -42,10 +41,10 @@ void test01() typedef make_signed::type test5_type; } -// { dg-error "does not name a type" "" { target *-*-* } 33 } -// { dg-error "required from here" "" { target *-*-* } 35 } -// { dg-error "required from here" "" { target *-*-* } 37 } -// { dg-error "required from here" "" { target *-*-* } 40 } -// { dg-error "required from here" "" { target *-*-* } 42 } +// { dg-error "does not name a type" "" { target *-*-* } 32 } +// { dg-error "required from here" "" { target *-*-* } 34 } +// { dg-error "required from here" "" { target *-*-* } 36 } +// { dg-error "required from here" "" { target *-*-* } 39 } +// { dg-error "required from here" "" { target *-*-* } 41 } // { dg-error "invalid use of incomplete type" "" { target *-*-* } 1920 } diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/alias_decl.cc index c3b21208fab..ee6d5b27914 100644 --- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/explicit_instantiation.cc index ad5950cea08..638c23557a0 100644 --- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-04-30 Benjamin Kosnik // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc index 09b63bbd3f1..6d87f122cae 100644 --- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc +++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-05-03 Benjamin Kosnik // diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc index bb40fcc1e28..81e661a3601 100644 --- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc +++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -funsigned-char -fshort-enums" } -// { dg-do compile } +// { dg-options "-funsigned-char -fshort-enums" } +// { dg-do compile { target c++11 } } // 2007-05-03 Benjamin Kosnik // diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-3.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-3.cc index a89117783e2..e6d8ff528a8 100644 --- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-3.cc +++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc index 5240c3e93eb..2c46dfaaca0 100644 --- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc +++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-05-03 Benjamin Kosnik // @@ -42,11 +41,11 @@ void test01() typedef make_unsigned::type test5_type; } -// { dg-error "does not name a type" "" { target *-*-* } 33 } -// { dg-error "required from here" "" { target *-*-* } 35 } -// { dg-error "required from here" "" { target *-*-* } 37 } -// { dg-error "required from here" "" { target *-*-* } 40 } -// { dg-error "required from here" "" { target *-*-* } 42 } +// { dg-error "does not name a type" "" { target *-*-* } 32 } +// { dg-error "required from here" "" { target *-*-* } 34 } +// { dg-error "required from here" "" { target *-*-* } 36 } +// { dg-error "required from here" "" { target *-*-* } 39 } +// { dg-error "required from here" "" { target *-*-* } 41 } // { dg-error "invalid use of incomplete type" "" { target *-*-* } 1816 } // { dg-error "declaration of" "" { target *-*-* } 1773 } diff --git a/libstdc++-v3/testsuite/20_util/move/1.cc b/libstdc++-v3/testsuite/20_util/move/1.cc index 8f550e571db..bddba4e05ca 100644 --- a/libstdc++-v3/testsuite/20_util/move/1.cc +++ b/libstdc++-v3/testsuite/20_util/move/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-07-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/move/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/move/requirements/explicit_instantiation.cc index 17879d12403..2b29e2b2392 100644 --- a/libstdc++-v3/testsuite/20_util/move/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/move/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-07-10 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/move_if_noexcept/1.cc b/libstdc++-v3/testsuite/20_util/move_if_noexcept/1.cc index e5283352364..36b170ffc3e 100644 --- a/libstdc++-v3/testsuite/20_util/move_if_noexcept/1.cc +++ b/libstdc++-v3/testsuite/20_util/move_if_noexcept/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-04-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/move_if_noexcept/constexpr.cc b/libstdc++-v3/testsuite/20_util/move_if_noexcept/constexpr.cc index 2a04c64180b..b12d8f95bea 100644 --- a/libstdc++-v3/testsuite/20_util/move_if_noexcept/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/move_if_noexcept/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/move_if_noexcept/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/move_if_noexcept/requirements/explicit_instantiation.cc index 809c9caab36..c8191a718b7 100644 --- a/libstdc++-v3/testsuite/20_util/move_if_noexcept/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/move_if_noexcept/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-04-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/owner_less/cmp.cc b/libstdc++-v3/testsuite/20_util/owner_less/cmp.cc index 5aab2917f4b..552eb92cd8b 100644 --- a/libstdc++-v3/testsuite/20_util/owner_less/cmp.cc +++ b/libstdc++-v3/testsuite/20_util/owner_less/cmp.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/40925.cc b/libstdc++-v3/testsuite/20_util/pair/40925.cc index 73237e53f81..c16535bfe07 100644 --- a/libstdc++-v3/testsuite/20_util/pair/40925.cc +++ b/libstdc++-v3/testsuite/20_util/pair/40925.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/44487.cc b/libstdc++-v3/testsuite/20_util/pair/44487.cc index e61654fb3e9..29042904477 100644 --- a/libstdc++-v3/testsuite/20_util/pair/44487.cc +++ b/libstdc++-v3/testsuite/20_util/pair/44487.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/70437.cc b/libstdc++-v3/testsuite/20_util/pair/70437.cc index 37e6fb7ec1a..a210429864c 100644 --- a/libstdc++-v3/testsuite/20_util/pair/70437.cc +++ b/libstdc++-v3/testsuite/20_util/pair/70437.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/astuple/astuple.cc b/libstdc++-v3/testsuite/20_util/pair/astuple/astuple.cc index 3a458bb30e5..1c1aa7d2841 100644 --- a/libstdc++-v3/testsuite/20_util/pair/astuple/astuple.cc +++ b/libstdc++-v3/testsuite/20_util/pair/astuple/astuple.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/astuple/astuple_cpp14.cc b/libstdc++-v3/testsuite/20_util/pair/astuple/astuple_cpp14.cc index 89fb769a606..bc2fb57d78d 100644 --- a/libstdc++-v3/testsuite/20_util/pair/astuple/astuple_cpp14.cc +++ b/libstdc++-v3/testsuite/20_util/pair/astuple/astuple_cpp14.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get.cc b/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get.cc index 59c17275e95..63a55fb4a82 100644 --- a/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get.cc +++ b/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get_by_type.cc b/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get_by_type.cc index ee494a582f7..c752529b4a1 100644 --- a/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get_by_type.cc +++ b/libstdc++-v3/testsuite/20_util/pair/astuple/constexpr_get_by_type.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/astuple/get.cc b/libstdc++-v3/testsuite/20_util/pair/astuple/get.cc index e70da4425d0..923f2440a69 100644 --- a/libstdc++-v3/testsuite/20_util/pair/astuple/get.cc +++ b/libstdc++-v3/testsuite/20_util/pair/astuple/get.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-16 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type.cc b/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type.cc index bfb4ece8981..f8862ad2cc6 100644 --- a/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type.cc +++ b/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type_neg.cc b/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type_neg.cc index 7356c7cdbbf..fa8843756e5 100644 --- a/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type_neg.cc +++ b/libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/comparison_operators/constexpr.cc b/libstdc++-v3/testsuite/20_util/pair/comparison_operators/constexpr.cc index 97aaf3eec74..19f514094a8 100644 --- a/libstdc++-v3/testsuite/20_util/pair/comparison_operators/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/pair/comparison_operators/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/pair/cons/constexpr.cc index d125843783d..9e9211101e3 100644 --- a/libstdc++-v3/testsuite/20_util/pair/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/pair/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/cons/explicit_construct.cc b/libstdc++-v3/testsuite/20_util/pair/cons/explicit_construct.cc index 01eb077e4cd..1525fef20a6 100644 --- a/libstdc++-v3/testsuite/20_util/pair/cons/explicit_construct.cc +++ b/libstdc++-v3/testsuite/20_util/pair/cons/explicit_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/20_util/pair/cons/noexcept_move_construct.cc index 0854d9bca3c..965777b9342 100644 --- a/libstdc++-v3/testsuite/20_util/pair/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/20_util/pair/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/pair/constexpr_get.cc b/libstdc++-v3/testsuite/20_util/pair/constexpr_get.cc index 1731c034735..bb541731bb1 100644 --- a/libstdc++-v3/testsuite/20_util/pair/constexpr_get.cc +++ b/libstdc++-v3/testsuite/20_util/pair/constexpr_get.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. // diff --git a/libstdc++-v3/testsuite/20_util/pair/make_pair/constexpr.cc b/libstdc++-v3/testsuite/20_util/pair/make_pair/constexpr.cc index 42bb26c9134..b110e26e452 100644 --- a/libstdc++-v3/testsuite/20_util/pair/make_pair/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/pair/make_pair/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/moveable.cc b/libstdc++-v3/testsuite/20_util/pair/moveable.cc index bbe01708896..ecc8eb93e51 100644 --- a/libstdc++-v3/testsuite/20_util/pair/moveable.cc +++ b/libstdc++-v3/testsuite/20_util/pair/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/noexcept_move_assign.cc b/libstdc++-v3/testsuite/20_util/pair/noexcept_move_assign.cc index d50bdf0e95d..7652af0a7b3 100644 --- a/libstdc++-v3/testsuite/20_util/pair/noexcept_move_assign.cc +++ b/libstdc++-v3/testsuite/20_util/pair/noexcept_move_assign.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/pair/noexcept_swap.cc b/libstdc++-v3/testsuite/20_util/pair/noexcept_swap.cc index a6116d48ce0..fb6eb7152b1 100644 --- a/libstdc++-v3/testsuite/20_util/pair/noexcept_swap.cc +++ b/libstdc++-v3/testsuite/20_util/pair/noexcept_swap.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/pair/noncopyable.cc b/libstdc++-v3/testsuite/20_util/pair/noncopyable.cc index 8c16767e5db..4eb07c0cf9f 100644 --- a/libstdc++-v3/testsuite/20_util/pair/noncopyable.cc +++ b/libstdc++-v3/testsuite/20_util/pair/noncopyable.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/piecewise.cc b/libstdc++-v3/testsuite/20_util/pair/piecewise.cc index d2cc2067ef7..894e0697e74 100644 --- a/libstdc++-v3/testsuite/20_util/pair/piecewise.cc +++ b/libstdc++-v3/testsuite/20_util/pair/piecewise.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-04-30 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/pair/piecewise2.cc b/libstdc++-v3/testsuite/20_util/pair/piecewise2.cc index afd03276980..87cd392be97 100644 --- a/libstdc++-v3/testsuite/20_util/pair/piecewise2.cc +++ b/libstdc++-v3/testsuite/20_util/pair/piecewise2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/requirements/dr2367.cc b/libstdc++-v3/testsuite/20_util/pair/requirements/dr2367.cc index 3c2692d49a4..3fa09eebd1f 100644 --- a/libstdc++-v3/testsuite/20_util/pair/requirements/dr2367.cc +++ b/libstdc++-v3/testsuite/20_util/pair/requirements/dr2367.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/requirements/dr801.cc b/libstdc++-v3/testsuite/20_util/pair/requirements/dr801.cc index e7e140d436b..0cb162024b6 100644 --- a/libstdc++-v3/testsuite/20_util/pair/requirements/dr801.cc +++ b/libstdc++-v3/testsuite/20_util/pair/requirements/dr801.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pair/swap.cc b/libstdc++-v3/testsuite/20_util/pair/swap.cc index 84b27ef5b2f..5a18f2511b5 100644 --- a/libstdc++-v3/testsuite/20_util/pair/swap.cc +++ b/libstdc++-v3/testsuite/20_util/pair/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pointer_safety/1.cc b/libstdc++-v3/testsuite/20_util/pointer_safety/1.cc index ba760cad59e..4d2be8ba41d 100644 --- a/libstdc++-v3/testsuite/20_util/pointer_safety/1.cc +++ b/libstdc++-v3/testsuite/20_util/pointer_safety/1.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/pointer_traits/pointer_to.cc b/libstdc++-v3/testsuite/20_util/pointer_traits/pointer_to.cc index 7aaf2366799..6e7b1522ed1 100644 --- a/libstdc++-v3/testsuite/20_util/pointer_traits/pointer_to.cc +++ b/libstdc++-v3/testsuite/20_util/pointer_traits/pointer_to.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/explicit_instantiation.cc index b9d577109b5..ac0502603bb 100644 --- a/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/typedefs.cc index 4960db80f44..d8cefa0596d 100644 --- a/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/pointer_traits/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,8 +22,6 @@ #include -// { dg-do compile } - template void test01() { diff --git a/libstdc++-v3/testsuite/20_util/rank/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/rank/requirements/explicit_instantiation.cc index 6f809d72ea1..1d9c7846eb9 100644 --- a/libstdc++-v3/testsuite/20_util/rank/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/rank/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/rank/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/rank/requirements/typedefs.cc index c927d26ede2..173e7b6c419 100644 --- a/libstdc++-v3/testsuite/20_util/rank/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/rank/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/rank/value.cc b/libstdc++-v3/testsuite/20_util/rank/value.cc index 095e5abbbac..abf65c58882 100644 --- a/libstdc++-v3/testsuite/20_util/rank/value.cc +++ b/libstdc++-v3/testsuite/20_util/rank/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc index e364e7d5e98..b86296eea37 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc index 512c7c5cbd4..5c5412eba1d 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc index 972b1935cec..2c1c32b4836 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2011-02-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc b/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc index 20d7e51b60b..02a40d0b223 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2008-07-03 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc b/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc index 51a7926d35b..ddf070d6dd1 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc index 0581879bdf3..48630d31049 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2010-10-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc index 49257d0ef1c..75f58a772ae 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc index 47a6c02af33..38ab1f2afcd 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } -// { dg-do compile } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc index 9040ba7e08a..cb0b31179cc 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2008-07-03 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/ops2.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/ops2.cc index 68a58ec1445..6bf7bf6600c 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/ops2.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/ops2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2008-07-03 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/ops3.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/ops3.cc index 645f76f2137..8b8a0648e5d 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/ops3.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/ops3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2008-07-03 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc index 1a6bc52d7e0..7c40001365c 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // 2008-07-03 Chris Fairles @@ -39,9 +38,9 @@ test02() __attribute__((unused)); } -// { dg-error "required from here" "" { target *-*-* } 29 } -// { dg-error "expected initializer" "" { target *-*-* } 36 } -// { dg-error "expected initializer" "" { target *-*-* } 38 } +// { dg-error "required from here" "" { target *-*-* } 28 } +// { dg-error "expected initializer" "" { target *-*-* } 35 } +// { dg-error "expected initializer" "" { target *-*-* } 37 } // { dg-error "overflow in addition" "" { target *-*-* } 451 } // { dg-error "overflow in multiplication" "" { target *-*-* } 97 } // { dg-error "overflow in multiplication" "" { target *-*-* } 99 } diff --git a/libstdc++-v3/testsuite/20_util/ratio/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/20_util/ratio/requirements/constexpr_data.cc index 3f3da0c5c72..ec747fb04f6 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/raw_storage_iterator/base.cc b/libstdc++-v3/testsuite/20_util/raw_storage_iterator/base.cc index fd4fbf1457f..39d9fae6865 100644 --- a/libstdc++-v3/testsuite/20_util/raw_storage_iterator/base.cc +++ b/libstdc++-v3/testsuite/20_util/raw_storage_iterator/base.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/24803.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/24803.cc index 8398d44ed18..268b896b622 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/24803.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/24803.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/41792.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/41792.cc index 5e02b103cbf..63e56bbb131 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/41792.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/41792.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-05-20 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-3.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-3.cc index e87b2be4518..f626b17d20c 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-3.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke-3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke.cc index fe4d0c7c06b..e5c02ca926b 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/invoke.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/ref_neg.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/ref_neg.cc index 0bf66e3e978..c1765525d42 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/ref_neg.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/ref_neg.cc @@ -17,8 +17,7 @@ // 20.8.3 Class template reference_wrapper -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/requirements.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/requirements.cc index 34695baafcb..a1a7ed4bf00 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/requirements.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/requirements.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/result_type.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/result_type.cc index c07f6c5d441..4946c5582a2 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/result_type.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/result_type.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-10-06 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-2.cc index 821a9eca13e..fe90676e57e 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-2.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-10-06 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-3.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-3.cc index fc6ee2cbb52..bba94e5c1f9 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-3.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs-3.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. // diff --git a/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs.cc b/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs.cc index f799328200b..b6f98bbaa82 100644 --- a/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/reference_wrapper/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/alias_decl.cc index ecad8346b79..9861b7f4539 100644 --- a/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/explicit_instantiation.cc index e94fcd30376..8b6ea20e539 100644 --- a/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/remove_all_extents/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_all_extents/value.cc b/libstdc++-v3/testsuite/20_util/remove_all_extents/value.cc index 514a603b380..478bfd4bd29 100644 --- a/libstdc++-v3/testsuite/20_util/remove_all_extents/value.cc +++ b/libstdc++-v3/testsuite/20_util/remove_all_extents/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_const/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/remove_const/requirements/alias_decl.cc index 71bfa7decfe..daa7dce1a05 100644 --- a/libstdc++-v3/testsuite/20_util/remove_const/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/remove_const/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_const/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/remove_const/requirements/explicit_instantiation.cc index 24fdde950d9..af6f2ffac89 100644 --- a/libstdc++-v3/testsuite/20_util/remove_const/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/remove_const/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_const/value.cc b/libstdc++-v3/testsuite/20_util/remove_const/value.cc index 4b5b90d65d2..93daf227055 100644 --- a/libstdc++-v3/testsuite/20_util/remove_const/value.cc +++ b/libstdc++-v3/testsuite/20_util/remove_const/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_cv/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/remove_cv/requirements/alias_decl.cc index 73574832fd6..cfee8df0516 100644 --- a/libstdc++-v3/testsuite/20_util/remove_cv/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/remove_cv/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_cv/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/remove_cv/requirements/explicit_instantiation.cc index 8acd5e6d842..b0871b8c8b9 100644 --- a/libstdc++-v3/testsuite/20_util/remove_cv/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/remove_cv/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_cv/value.cc b/libstdc++-v3/testsuite/20_util/remove_cv/value.cc index 794a2396b2f..707c94173a5 100644 --- a/libstdc++-v3/testsuite/20_util/remove_cv/value.cc +++ b/libstdc++-v3/testsuite/20_util/remove_cv/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_extent/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/remove_extent/requirements/alias_decl.cc index 563d18b502f..e6900467ccb 100644 --- a/libstdc++-v3/testsuite/20_util/remove_extent/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/remove_extent/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_extent/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/remove_extent/requirements/explicit_instantiation.cc index a9129424191..04f3f93d396 100644 --- a/libstdc++-v3/testsuite/20_util/remove_extent/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/remove_extent/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_extent/value.cc b/libstdc++-v3/testsuite/20_util/remove_extent/value.cc index 6254da5a220..7a42cd47613 100644 --- a/libstdc++-v3/testsuite/20_util/remove_extent/value.cc +++ b/libstdc++-v3/testsuite/20_util/remove_extent/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/alias_decl.cc index f979f534baf..485aacd9f4f 100644 --- a/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/explicit_instantiation.cc index c0898a876c2..2170690b81f 100644 --- a/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/remove_pointer/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_pointer/value.cc b/libstdc++-v3/testsuite/20_util/remove_pointer/value.cc index b647353fed7..340003a1aa8 100644 --- a/libstdc++-v3/testsuite/20_util/remove_pointer/value.cc +++ b/libstdc++-v3/testsuite/20_util/remove_pointer/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_reference/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/remove_reference/requirements/alias_decl.cc index d260fe63da7..5990304ddc3 100644 --- a/libstdc++-v3/testsuite/20_util/remove_reference/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/remove_reference/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_reference/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/remove_reference/requirements/explicit_instantiation.cc index 02191df2f16..eea747eb6ed 100644 --- a/libstdc++-v3/testsuite/20_util/remove_reference/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/remove_reference/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/remove_reference/value.cc b/libstdc++-v3/testsuite/20_util/remove_reference/value.cc index a5ffbfaa122..76808ae8550 100644 --- a/libstdc++-v3/testsuite/20_util/remove_reference/value.cc +++ b/libstdc++-v3/testsuite/20_util/remove_reference/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2007-06-02 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/alias_decl.cc index b7019c61bed..4b7bdd11aec 100644 --- a/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/explicit_instantiation.cc index 7c6b3a95efe..7943f37cade 100644 --- a/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/remove_volatile/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/remove_volatile/value.cc b/libstdc++-v3/testsuite/20_util/remove_volatile/value.cc index 5a2881575e4..abd4d2d4aa7 100644 --- a/libstdc++-v3/testsuite/20_util/remove_volatile/value.cc +++ b/libstdc++-v3/testsuite/20_util/remove_volatile/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/result_of/1.cc b/libstdc++-v3/testsuite/20_util/result_of/1.cc index 9c066e7bb05..3aa6c08afd0 100644 --- a/libstdc++-v3/testsuite/20_util/result_of/1.cc +++ b/libstdc++-v3/testsuite/20_util/result_of/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/result_of/2.cc b/libstdc++-v3/testsuite/20_util/result_of/2.cc index 4b8230acb61..f2e4071a15d 100644 --- a/libstdc++-v3/testsuite/20_util/result_of/2.cc +++ b/libstdc++-v3/testsuite/20_util/result_of/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/result_of/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/result_of/requirements/alias_decl.cc index baa1db2923b..b48c8501094 100644 --- a/libstdc++-v3/testsuite/20_util/result_of/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/result_of/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_1.cc b/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_1.cc index 93affbed29a..4476580e803 100644 --- a/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_1.cc +++ b/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_2.cc b/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_2.cc index 0de1365676a..7519e8de59e 100644 --- a/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_2.cc +++ b/libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/1.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/1.cc index bd39ef6b87f..e101fc5a4b3 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/1.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/2.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/2.cc index 3ded0ac96f0..58b192f1df3 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/2.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/65279.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/65279.cc index 2d52e7c21d3..0a3f8dd89d2 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/65279.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/65279.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/69114.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/69114.cc index 6890d187795..a5e71a8192b 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/69114.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/69114.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // PR libstdc++/69114 diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc index f3b2d87ab99..def8d82732b 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/69293 diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/propagation.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/propagation.cc index bce197ed49e..e846f102f1c 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/propagation.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/propagation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/explicit_instantiation.cc index 0354a1205e3..d2327db1f6c 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/typedefs.cc index 1fac18d141d..1bb5eb31ce4 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/requirements/typedefs.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,8 +22,6 @@ #include -// { dg-do compile } - template struct minimal_allocator { diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/assign.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/assign.cc index 11e21f8dc2b..7139f207daf 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/assign.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr.cc index aad31729b16..d29bd36089f 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } +// { dg-options "-Wno-deprecated" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc index c4e40a40880..b0a6394ab7a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } -// { dg-do compile } +// { dg-options "-Wno-deprecated" } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc index f1f399c5f36..717f28eaa03 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } -// { dg-do compile } +// { dg-options "-Wno-deprecated" } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/dr541.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/dr541.cc index 838a0712cc9..4799ed3df36 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/dr541.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/dr541.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2006-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/move.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/move.cc index 2d8829b71f2..b2a95c4e890 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/move.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr.cc index 293e2fa2eb0..ed97538e887 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc index 9ec0fc6d689..751495a63db 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc index e1163e786c7..1527e00ea5a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc index 58334375c38..f398de2b214 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/1.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/1.cc index 7040c8a5907..a8f847c1e3a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/1.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/1.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-gthreads "" } #include diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/2.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/2.cc index 8214138c61a..5faf1197fd4 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/2.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/2.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-gthreads "" } #include diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/casts/1.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/casts/1.cc index a97bb9d1c2d..d983d034660 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/casts/1.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/casts/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2006-2016 Free Software Foundation, Inc. // @@ -22,8 +22,6 @@ #include #include -// { dg-do compile } - struct MyP { virtual ~MyP() { }; }; struct MyDP : MyP { }; diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/42925.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/42925.cc index c22a394563d..46dfe97798d 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/42925.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/42925.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc index a6e7a99292c..39aba41a663 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/dr1401.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/dr1401.cc index 646e96d0894..8eeb301380b 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/dr1401.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/dr1401.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. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/less.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/less.cc index 5b2180d25e8..f60b7aeed1a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/less.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/less.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc index cda9d9eaf30..47bd15da48c 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/39405.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc index 1b3dc1d550b..530256a94bc 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } -// { dg-do compile } +// { dg-options "-Wno-deprecated" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/46910.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/46910.cc index d49e36485ac..2782bed417e 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/46910.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/46910.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/51365.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/51365.cc index 9f56951addf..436367d0fa5 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/51365.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/51365.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/52924.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/52924.cc index 4c73a798863..b6cfec75a4d 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/52924.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/52924.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc index 1098c6cbe4f..806da984d68 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc index 2dc3b0cd0d4..09c5aac958d 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58659.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58839.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58839.cc index dedff538232..acd156295ca 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58839.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/58839.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/61036.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/61036.cc index 5931c987ebc..4b9382c8655 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/61036.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/61036.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alias.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alias.cc index d35fd0da995..a881035d67a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alias.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alias.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc.cc index 524ea9970f2..51570f1fb99 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc_min.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc_min.cc index dc68d3196be..123f5114864 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc_min.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc_min.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. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr.cc index 20992f74a7e..3eaf07698ff 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } +// { dg-options "-Wno-deprecated" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc index a23224a5d44..60f2d7dfb9d 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } -// { dg-do compile } +// { dg-options "-Wno-deprecated" } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc index d3ea910bf17..02c2bfba78d 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc @@ -1,5 +1,5 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11 -fno-inline -g0" } +// { dg-options "-fno-inline -g0" } +// { dg-do compile { target c++11 } } // { dg-final { scan-assembler-not "_ZNSt10shared_ptrIiEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt10shared_ptrIiEC2EDn" } } diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/copy.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/copy.cc index 7c2b2a63795..2be1ad5c232 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/copy.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/default.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/default.cc index ab133fc81d4..bb53e1c072f 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/default.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/move.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/move.cc index ed123bfa337..77295bc69e1 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/move.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc index e8e35944558..cb6d6416b1d 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-14 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/nullptr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/nullptr.cc index 0466dc007eb..5af8c388495 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/nullptr.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/nullptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/pointer.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/pointer.cc index 0689efa43b1..fa4bb369b87 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/pointer.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/pointer.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc index f807d703fc5..58335c3a299 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc index 17414f40c98..d01f38cfa53 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc index f6f55d9f58d..73f9c23716d 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc index 256d8723cec..49629a2610a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc index 1555f8c4163..c15caf7b543 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc index dbe50f2a4bf..2a0ac70f59a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/void_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/void_neg.cc index 399d2f08387..f77ddec9c7b 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/void_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/void_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr.cc index ee96778d26c..a6717984b5f 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc index d14089c6214..77f64e6a10a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/36949.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/36949.cc index 864d15af9c1..d416037e99f 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/36949.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/36949.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594-no-rtti.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594-no-rtti.cc index 1291f908f8f..77477a28a65 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594-no-rtti.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594-no-rtti.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -fno-rtti" } -// { dg-do compile } +// { dg-options "-fno-rtti" } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594.cc index 664c8be9639..0a0bc469a80 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc.cc index 9cbbde711c4..e0f761b2adb 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc_min.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc_min.cc index 0689ad4f0bf..db4a92c20ce 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc_min.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc_min.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. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr402.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr402.cc index 7199cd3e7f2..9f12affd5a4 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr402.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr402.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr925.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr925.cc index 947799b08c6..18593161f84 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr925.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/dr925.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } +// { dg-options "-Wno-deprecated" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/make.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/make.cc index 7a114ed396d..3a0e00b70fa 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/make.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/make.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/no_rtti.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/no_rtti.cc index 3d202c37ae0..107a8e5f094 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/no_rtti.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/no_rtti.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -fno-rtti" } -// { dg-do compile } +// { dg-options "-fno-rtti" } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc index 9db608dba39..dd3198805f2 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/dest/dest.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/dest/dest.cc index d676def5709..bd682dcf7d0 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/dest/dest.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/dest/dest.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/hash/1.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/hash/1.cc index d21335c391b..525bc1f0389 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/hash/1.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/hash/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/24595.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/24595.cc index ffc996a43ef..90090f132a0 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/24595.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/24595.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/42019.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/42019.cc index 6252af490ee..242e2b79b39 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/42019.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/42019.cc @@ -1,4 +1,6 @@ -// { dg-options "-std=gnu++11 -fno-rtti" } +// { dg-options "-fno-rtti" } +// { dg-do run { target c++11 } } + // Copyright (C) 2009-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/io.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/io.cc index afa0c44cd37..d30b9010343 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/io.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/io.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/swap.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/swap.cc index 3d8919aebd0..35fe12dac45 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/misc/swap.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/misc/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/24805.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/24805.cc index 4653c27092c..2138251c05c 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/24805.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/24805.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset.cc index 2ddd4de5d5a..550e28bd7cd 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_alloc.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_alloc.cc index 1eec6503518..6e754c893ca 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_alloc.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_alloc.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_neg.cc index e452edd6810..e28a966c8ea 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/reset_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap.cc index f3106a11a20..e47cc676305 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap_neg.cc index 8ff9f5bb7a3..c1b8cb26de4 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/bool_conv.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/bool_conv.cc index 2b31ed294d7..4f4a1da4d72 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/bool_conv.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/bool_conv.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/get.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/get.cc index 1ec21ea39d6..266727a9c82 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/get.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/get.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/owner_before.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/owner_before.cc index c96d6a3ffd4..0874a00f27a 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/owner_before.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/owner_before.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/unique.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/unique.cc index 7a7297faf5c..a57cc085139 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/unique.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/unique.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/use_count.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/use_count.cc index eca5cff2d8f..10f5ab31fe9 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/observers/use_count.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/observers/use_count.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc index f4bd53beef2..abdfe5f7037 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2006-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/2.cc index ff69eb4c345..f40ecc40a66 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/58982.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/58982.cc index e058d460773..119968579b7 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/58982.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/58982.cc @@ -17,8 +17,7 @@ // 20.7.12 specialized algorithms -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc index 3a2ba8aeec7..e7d95a57ef4 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/808590-cxx11.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/808590-cxx11.cc index c08e5879112..a6fb2da1dc6 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/808590-cxx11.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/808590-cxx11.cc @@ -15,9 +15,9 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } -// This is identical to ./808590.cc but using -std=gnu++11 +// This is identical to ./808590.cc but for C++11 and later. // See https://gcc.gnu.org/ml/libstdc++/2014-05/msg00027.html #include diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/move_iterators/1.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/move_iterators/1.cc index c1de0e06c4e..efb311ddbec 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/move_iterators/1.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/move_iterators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/58982.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/58982.cc index 3a19ae1700a..f7a42ed5eb4 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/58982.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/58982.cc @@ -17,8 +17,7 @@ // 20.7.12 specialized algorithms -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/move_iterators/1.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/move_iterators/1.cc index a7c6d729aa7..9420bdcaef8 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/move_iterators/1.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/move_iterators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill/58982.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill/58982.cc index 28cc485fdb5..450db5ee921 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill/58982.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill/58982.cc @@ -17,8 +17,7 @@ // 20.7.12 specialized algorithms -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill_n/58982.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill_n/58982.cc index f7c10e96ba6..b2b2a8fa9e6 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill_n/58982.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill_n/58982.cc @@ -17,8 +17,7 @@ // 20.7.12 specialized algorithms -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/steady_clock/constexpr_data.cc b/libstdc++-v3/testsuite/20_util/steady_clock/constexpr_data.cc index 02c3cc6a42d..d4822f9a583 100644 --- a/libstdc++-v3/testsuite/20_util/steady_clock/constexpr_data.cc +++ b/libstdc++-v3/testsuite/20_util/steady_clock/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/system_clock/1.cc b/libstdc++-v3/testsuite/20_util/system_clock/1.cc index 7fff94b7e8d..7801ea14300 100644 --- a/libstdc++-v3/testsuite/20_util/system_clock/1.cc +++ b/libstdc++-v3/testsuite/20_util/system_clock/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-time "" } diff --git a/libstdc++-v3/testsuite/20_util/system_clock/constexpr_data.cc b/libstdc++-v3/testsuite/20_util/system_clock/constexpr_data.cc index 0e8819b740d..629447bdf6e 100644 --- a/libstdc++-v3/testsuite/20_util/system_clock/constexpr_data.cc +++ b/libstdc++-v3/testsuite/20_util/system_clock/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/1.cc b/libstdc++-v3/testsuite/20_util/time_point/1.cc index 73d1e5cb8af..59d0f7f9d93 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/1.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/time_point/2.cc b/libstdc++-v3/testsuite/20_util/time_point/2.cc index 81d40ee0943..c0b6f1b8a1a 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/2.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/time_point/3.cc b/libstdc++-v3/testsuite/20_util/time_point/3.cc index f616645d04c..3150fdf0989 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/3.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/time_point/comparison_operators/constexpr.cc b/libstdc++-v3/testsuite/20_util/time_point/comparison_operators/constexpr.cc index 82158f84596..9821ee0a8c9 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/comparison_operators/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/comparison_operators/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/time_point/cons/constexpr.cc index c90365087cf..739d030dd82 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/nonmember/constexpr.cc b/libstdc++-v3/testsuite/20_util/time_point/nonmember/constexpr.cc index a127ff2c11f..ce8b3a435b5 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/nonmember/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/nonmember/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/20_util/time_point/requirements/constexpr_functions.cc index beb7b6672fc..d2984abbe2f 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc index d66690d7ba3..0b0126c4c62 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/time_point_cast/constexpr.cc b/libstdc++-v3/testsuite/20_util/time_point_cast/constexpr.cc index f91ab5610b2..43561f2bdda 100644 --- a/libstdc++-v3/testsuite/20_util/time_point_cast/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/time_point_cast/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/48476.cc b/libstdc++-v3/testsuite/20_util/tuple/48476.cc index 3b168f500a1..3ea01f17c14 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/48476.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/48476.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/51365.cc b/libstdc++-v3/testsuite/20_util/tuple/51365.cc index 94ea200b350..73471e15018 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/51365.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/51365.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. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/53648.cc b/libstdc++-v3/testsuite/20_util/tuple/53648.cc index 60d494ccfd7..89a09c48645 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/53648.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/53648.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/56785.cc b/libstdc++-v3/testsuite/20_util/tuple/56785.cc index 04c48451030..3020213917a 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/56785.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/56785.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/20_util/tuple/60497.cc b/libstdc++-v3/testsuite/20_util/tuple/60497.cc index d794689e89d..f09f891fe2e 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/60497.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/60497.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/61947.cc b/libstdc++-v3/testsuite/20_util/tuple/61947.cc index 96db6646779..0c76e3d647e 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/61947.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/61947.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/35480_neg.cc b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/35480_neg.cc index 8b93cf364c0..1825d060597 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/35480_neg.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/35480_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/comparisons.cc b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/comparisons.cc index fc969a7b4d1..4c4f6f8e9b6 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/comparisons.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/comparisons.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/constexpr.cc b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/constexpr.cc index 0615359d1af..0864e65641a 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/overloaded.cc b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/overloaded.cc index 5c49ee8f093..11fc0140091 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/overloaded.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/comparison_operators/overloaded.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/41530.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/41530.cc index b2c07b22ba7..ac3bfed14bc 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/41530.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/41530.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/44487.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/44487.cc index 0c6b80d1456..ee41a9c77c4 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/44487.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/44487.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/45228.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/45228.cc index 6d9e0c35302..ef6d714fd4d 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/45228.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/45228.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/48476.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/48476.cc index c30b80440e1..6d6240a7264 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/48476.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/48476.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. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/allocators.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/allocators.cc index bc45780cb98..f1b033b8dc0 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/allocators.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/allocators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/assignment.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/assignment.cc index 3b7025ec174..6612c7f5081 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/assignment.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/assignment.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/big_tuples.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/big_tuples.cc index 16e0e30bdda..fbde7dff9f7 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/big_tuples.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/big_tuples.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-2.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-2.cc index 85e5d03e1b2..9c17f8bf627 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-2.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-3.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-3.cc index 7f5ac5e1dd7..0ab37b67c3f 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-3.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr-3.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/constructor.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/constructor.cc index ac3eeacbed3..edfa706f83c 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/constructor.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/constructor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/converting.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/converting.cc index 0c8199d797b..cc6314500bb 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/converting.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/converting.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/explicit_construct.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/explicit_construct.cc index 2a40c61f92b..8d0c70072d4 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/explicit_construct.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/explicit_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // @@ -18,6 +17,7 @@ // with this library; see the file COPYING3. If not see // . + #include #include #include diff --git a/libstdc++-v3/testsuite/20_util/tuple/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/20_util/tuple/cons/noexcept_move_construct.cc index 6b3c9f6e225..934497c1840 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/23978.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/23978.cc index 4d4460a9be7..561aa8cbeba 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/23978.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/23978.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/48476.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/48476.cc index 938b7ad8234..9ac0fda91cd 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/48476.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/48476.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/constexpr.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/constexpr.cc index 2cca0744503..58155433da1 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc index 6c6cfd1cdb7..747b8d3651a 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-04-30 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/make_tuple.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/make_tuple.cc index 6a566aca7f1..ab855caca4c 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/make_tuple.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/make_tuple.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie.cc index e4c86351439..d1cfc62232e 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie2.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie2.cc index e1b2a192136..39cebfe6e0e 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie2.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tuple_cat.cc b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tuple_cat.cc index 9028b65d50a..e3cbfb17aa4 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tuple_cat.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tuple_cat.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_element.cc b/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_element.cc index 71b2037368f..3092c8e7699 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_element.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_element.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_size.cc b/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_size.cc index 1949cc302d9..ef45f0b2f4e 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_size.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/cv_tuple_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get.cc b/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get.cc index 1ddc9ba74ef..fba1fd1f11c 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get.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. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc b/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc index c873d489fef..4e0b305e6f7 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/element_access/get.cc b/libstdc++-v3/testsuite/20_util/tuple/element_access/get.cc index 1aeea223c80..f0bcf22e9bf 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/element_access/get.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/element_access/get.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/element_access/get2.cc b/libstdc++-v3/testsuite/20_util/tuple/element_access/get2.cc index 7a247253fc6..a1f6a831bdc 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/element_access/get2.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/element_access/get2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-17 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/tuple/element_access/get2_by_type.cc b/libstdc++-v3/testsuite/20_util/tuple/element_access/get2_by_type.cc index 99c2d3f4d4a..441d4aa7e85 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/element_access/get2_by_type.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/element_access/get2_by_type.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/element_access/get_by_type.cc b/libstdc++-v3/testsuite/20_util/tuple/element_access/get_by_type.cc index b02ed492781..b1f7a048b99 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/element_access/get_by_type.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/element_access/get_by_type.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/moveable.cc b/libstdc++-v3/testsuite/20_util/tuple/moveable.cc index a9cea191753..d4b93c5439d 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/moveable.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/moveable2.cc b/libstdc++-v3/testsuite/20_util/tuple/moveable2.cc index 8cf67a03b19..66a09dfffa3 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/moveable2.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/moveable2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/noexcept_move_assign.cc b/libstdc++-v3/testsuite/20_util/tuple/noexcept_move_assign.cc index 57d24dc8f41..9e83345a1b5 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/noexcept_move_assign.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/noexcept_move_assign.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/tuple/noexcept_swap.cc b/libstdc++-v3/testsuite/20_util/tuple/noexcept_swap.cc index 60719993f36..50ce27f6417 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/noexcept_swap.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/noexcept_swap.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-19 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/tuple/requirements/dr2367.cc b/libstdc++-v3/testsuite/20_util/tuple/requirements/dr2367.cc index 239e0391af8..157beb04d90 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/requirements/dr2367.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/requirements/dr2367.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/requirements/dr801.cc b/libstdc++-v3/testsuite/20_util/tuple/requirements/dr801.cc index 124bf754fec..9ea9072a498 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/requirements/dr801.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/requirements/dr801.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/tuple/requirements/explicit_instantiation.cc index 18e293d8b14..2146459523e 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/swap.cc b/libstdc++-v3/testsuite/20_util/tuple/swap.cc index 1ec86483c6b..a95eaf9babc 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/swap.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/tuple_element.cc b/libstdc++-v3/testsuite/20_util/tuple/tuple_element.cc index 313744058ba..e93385e8c31 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/tuple_element.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/tuple_element.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/tuple_element_t.cc b/libstdc++-v3/testsuite/20_util/tuple/tuple_element_t.cc index c343f4d401b..4dea7ee423f 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/tuple_element_t.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/tuple_element_t.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/tuple/tuple_size.cc b/libstdc++-v3/testsuite/20_util/tuple/tuple_size.cc index f185fff8d6a..e1106ce8dc8 100644 --- a/libstdc++-v3/testsuite/20_util/tuple/tuple_size.cc +++ b/libstdc++-v3/testsuite/20_util/tuple/tuple_size.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/typeindex/comparison_operators.cc b/libstdc++-v3/testsuite/20_util/typeindex/comparison_operators.cc index cb24b5b6ad7..02aba25b946 100644 --- a/libstdc++-v3/testsuite/20_util/typeindex/comparison_operators.cc +++ b/libstdc++-v3/testsuite/20_util/typeindex/comparison_operators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-09-22 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/typeindex/hash.cc b/libstdc++-v3/testsuite/20_util/typeindex/hash.cc index 2481eaefecf..f2440af0eb3 100644 --- a/libstdc++-v3/testsuite/20_util/typeindex/hash.cc +++ b/libstdc++-v3/testsuite/20_util/typeindex/hash.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-09-22 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/typeindex/hash_code.cc b/libstdc++-v3/testsuite/20_util/typeindex/hash_code.cc index 03f6671f292..4bb96626e68 100644 --- a/libstdc++-v3/testsuite/20_util/typeindex/hash_code.cc +++ b/libstdc++-v3/testsuite/20_util/typeindex/hash_code.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-09-22 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/typeindex/name.cc b/libstdc++-v3/testsuite/20_util/typeindex/name.cc index c390420b2e1..b43d71214d0 100644 --- a/libstdc++-v3/testsuite/20_util/typeindex/name.cc +++ b/libstdc++-v3/testsuite/20_util/typeindex/name.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-09-22 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/alias_decl.cc b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/alias_decl.cc index eb01757fd8e..25efc355976 100644 --- a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/alias_decl.cc +++ b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/alias_decl.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/explicit_instantiation.cc index 9dc87c25a8a..4dfa2e6b0f3 100644 --- a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-1.cc b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-1.cc index 39ff1cb3390..eed20785e9a 100644 --- a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-1.cc +++ b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-1.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. // diff --git a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-2.cc index 7da41ab6ff7..555e9e5587c 100644 --- a/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-2.cc +++ b/libstdc++-v3/testsuite/20_util/underlying_type/requirements/typedefs-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. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/54351.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/54351.cc index 54173f7993d..41b1c5d4482 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/54351.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/54351.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do run } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635.cc index 65bcafdcccc..9c1e535314b 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635_neg.cc index 16ff8aee650..7f6d27c0ae8 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635_neg.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. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/assign_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/assign_neg.cc index 6482016e02b..842b6ed7a86 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/assign_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/cv_qual.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/cv_qual.cc index 640a3b7d907..793499dce4d 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/cv_qual.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/cv_qual.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move.cc index a93c66fae34..d329fa9861d 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move_array.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move_array.cc index 4a9c96f3f20..c11d75708dd 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move_array.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/move_array.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/nullptr.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/nullptr.cc index 8019e23b917..35853dc5026 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/assign/nullptr.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/assign/nullptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/42925.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/42925.cc index e61019133a4..8e9ce4e72c1 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/42925.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/42925.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/dr1401.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/dr1401.cc index f614ca39264..e101e9d861e 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/dr1401.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/comparison/dr1401.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. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/array_convertible_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/array_convertible_neg.cc index 218b959b333..4ef5db47876 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/array_convertible_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/array_convertible_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr.cc index 4eec30b2a2a..158893f090c 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } +// { dg-options "-Wno-deprecated" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc index 54398fe3acf..bd55585ab49 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } -// { dg-do compile } +// { dg-options "-Wno-deprecated" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc index c0cfc4fadd9..10058d70974 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc @@ -1,5 +1,5 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11 -fno-inline -g0" } +// { dg-options "-fno-inline -g0" } +// { dg-do compile { target c++11 } } // { dg-final { scan-assembler-not "_ZNSt10unique_ptrIiSt14default_deleteIiEEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt10unique_ptrIiSt14default_deleteIiEEC2EDn" } } diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/convertible_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/convertible_neg.cc index 6a19bf09a7a..7e30b7809f8 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/convertible_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/convertible_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual.cc index 078ecbb49eb..fcd5c5e7335 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc index 655ef489f13..de672008ca2 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-14 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/nullptr.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/nullptr.cc index 4a0c20c0e54..f46ac338706 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/nullptr.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/nullptr.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer.cc index 40a205354c1..94859307500 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array.cc index 7034d2e53a9..911ca54199c 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc index f76672e9f37..47809a7ed3b 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter.cc index 4ec3b17456a..31a1d928bcb 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do run } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc index 80940f3ae97..1aa8d438e06 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array.cc index 80a304ac8f6..cbfa2897621 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array_neg.cc index bdc5532d3c0..e19dcb2bdb7 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/array_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/single.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/single.cc index 51afb72eab0..45c6ab2a6c9 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/single.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/single.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/dr2228.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/dr2228.cc index dac205e28df..29f6ea11c71 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/dr2228.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/dr2228.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/hash/1.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/hash/1.cc index 6d9c5fbde69..dd5570ec6c0 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/hash/1.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/hash/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/43183.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/43183.cc index 6e04d93a407..9747a10a8a3 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/43183.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/43183.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/48398.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/48398.cc index 8f4c7d46005..9fc51684ae4 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/48398.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/48398.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/cv_qual.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/cv_qual.cc index 6bf0ce42bce..02845635260 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/cv_qual.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/cv_qual.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/reset_neg.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/reset_neg.cc index 1a3f981eb7c..d2ed03cafd9 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/reset_neg.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/reset_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc index 84cd7482c27..fc393465903 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type.cc index 1b7a3ba3a48..c559a1ffd4f 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type_array.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type_array.cc index 6d493e0d647..671fa85ed19 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type_array.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type_array.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc index b8d06e8a0f3..b3a580593e3 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons_array.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons_array.cc index d2e887b829d..f434b1f7b7b 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons_array.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/comparisons_array.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc index 0775b273325..67040d472ec 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/69114.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/69114.cc index 0ab7ed33f15..3bce435d6eb 100644 --- a/libstdc++-v3/testsuite/20_util/uses_allocator/69114.cc +++ b/libstdc++-v3/testsuite/20_util/uses_allocator/69114.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // PR libstdc++/69114 diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/69293_neg.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/69293_neg.cc index 19417fc2cef..fb00d019a4b 100644 --- a/libstdc++-v3/testsuite/20_util/uses_allocator/69293_neg.cc +++ b/libstdc++-v3/testsuite/20_util/uses_allocator/69293_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/69293 diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/cons_neg.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/cons_neg.cc index b3df4ae9d7d..907b2876fd3 100644 --- a/libstdc++-v3/testsuite/20_util/uses_allocator/cons_neg.cc +++ b/libstdc++-v3/testsuite/20_util/uses_allocator/cons_neg.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. // diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/construction.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/construction.cc index 76eb3d3562c..d5b54741b53 100644 --- a/libstdc++-v3/testsuite/20_util/uses_allocator/construction.cc +++ b/libstdc++-v3/testsuite/20_util/uses_allocator/construction.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/explicit_instantiation.cc index 2c383352d12..f1dbcabb54d 100644 --- a/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-09-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/typedefs.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/typedefs.cc index 871bb149b13..d44b986238d 100644 --- a/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/20_util/uses_allocator/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-09-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/uses_allocator/value.cc b/libstdc++-v3/testsuite/20_util/uses_allocator/value.cc index f5068627433..8202b51bc8b 100644 --- a/libstdc++-v3/testsuite/20_util/uses_allocator/value.cc +++ b/libstdc++-v3/testsuite/20_util/uses_allocator/value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-09-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc index cb8e4bdb1a9..dd1b5d9a877 100644 --- a/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc +++ b/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11 " } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc index dfdd36e4ed6..44c87dec7b9 100644 --- a/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc @@ -1,5 +1,5 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11 -fno-inline -g0" } +// { dg-options "-fno-inline -g0" } +// { dg-do compile { target c++11 } } // { dg-final { scan-assembler-not "_ZNSt8weak_ptrIiEC2Ev" } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc index 8e31b33a076..f9c4634916c 100644 --- a/libstdc++-v3/testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-14 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/lock/1.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/lock/1.cc index 920bec14a22..17064d20158 100644 --- a/libstdc++-v3/testsuite/20_util/weak_ptr/lock/1.cc +++ b/libstdc++-v3/testsuite/20_util/weak_ptr/lock/1.cc @@ -22,8 +22,7 @@ #include #include -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } int main() { diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/observers/owner_before.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/observers/owner_before.cc index 1b134b8d27c..3974ba8967a 100644 --- a/libstdc++-v3/testsuite/20_util/weak_ptr/observers/owner_before.cc +++ b/libstdc++-v3/testsuite/20_util/weak_ptr/observers/owner_before.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc index d80cd3b173d..a2f6bedd9da 100644 --- a/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2006-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc index ca0ab33e69e..c84693bfb4c 100644 --- a/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc index ebb66cfc7bf..aa4099cd7ae 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy.cc index 059925da2ac..67a1727bb58 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy_assign.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy_assign.cc index 3c8e440120e..c70cee30dae 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy_assign.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/minimal.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/minimal.cc index c84975bf9e8..4ea4d618226 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/minimal.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move.cc index 5b11b1ee97e..7028678fe14 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move_assign.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move_assign.cc index ca2a6bc70ef..ff4b1474d8d 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move_assign.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/noexcept.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/noexcept.cc index 39a171c2958..0170d97a208 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/noexcept.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/swap.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/swap.cc index 2b5ec5e71e4..7d5d8b9f0e5 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/swap.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc index 110f4d9d92d..57baf3b539b 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc index 3ac15bbf821..4cfb543b566 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc index 1563abbb2dd..3b8d94eeee5 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move.cc index 1cee2ac3340..4124f44d7fb 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc index 8c94d798604..bb93b155cfc 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc index 6c462a6bd69..838360d764a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc index 667d47505da..d56517e7ff7 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc b/libstdc++-v3/testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc index 547952f5f71..d648d9db5df 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-01-08 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc b/libstdc++-v3/testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc index 7ad6d4068bd..1c6a880b573 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-01-08 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/65085.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/65085.cc index cfb3daf5c8c..9fb9cd5c5a7 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/65085.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/65085.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/69092.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/69092.cc index 483708b948a..56bfe6a6e86 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/69092.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/69092.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // PR libstdc++/69092 diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable.cc index d50f64d10f4..86f8f25ac3a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable2.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable2.cc index e0296aac89d..98d56b071c4 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable2.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable2.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -fno-inline" } +// { dg-options "-fno-inline" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/noexcept_move_construct.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/noexcept_move_construct.cc index f259b5107cc..cf6a2ee6786 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc index 1d5bd3bbb13..38e93f52099 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc index 949c5a66447..3bfed12c686 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -fno-inline" } +// { dg-options "-fno-inline" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/noexcept_move_construct.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/noexcept_move_construct.cc index 0fb0abeaad0..9d43ee9b5d0 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/58163.cc b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/58163.cc index 59ff90dea6e..d5a4c010dfb 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/58163.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/58163.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG_PEDANTIC" } +// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/front_back.cc b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/front_back.cc index 9fa3e12f8f0..1ecd3e95917 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/front_back.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/front_back.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2010-05-31 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc index 62687f18eb1..cbf588a1594 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG_PEDANTIC" } +// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/front_back.cc b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/front_back.cc index e7b186b292f..ba4aa09ec5d 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/front_back.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/front_back.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2010-05-31 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc b/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc index 067bbfda5c7..a36ccf41052 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/12.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/12.cc index f860a85f476..cc2af28f6af 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/12.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/12.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/12.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/12.cc index 1834dba1193..4e77c1b7f5a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/12.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/12.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/literals/types.cc b/libstdc++-v3/testsuite/21_strings/basic_string/literals/types.cc index 9a61dd41a51..76a32df813c 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/literals/types.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/literals/types.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/literals/values.cc b/libstdc++-v3/testsuite/21_strings/basic_string/literals/values.cc index e4fdc5f2f5d..de1fce66375 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/literals/values.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/literals/values.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/char/move_assign.cc b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/char/move_assign.cc index 8b3ceb8803b..3f942bd2544 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/char/move_assign.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/char/move_assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/wchar_t/move_assign.cc b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/wchar_t/move_assign.cc index 2798b6bc407..2eb5e3da7c8 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/wchar_t/move_assign.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/wchar_t/move_assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/char/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/char/1.cc index 837c8d92680..d5cd2a1c30e 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/char/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/char/1.cc @@ -16,7 +16,7 @@ // . // 21.4.6.5 basic_string::pop_back -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/1.cc index 3c26289a5ca..22a46c3d023 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/1.cc @@ -16,7 +16,7 @@ // . // 21.4.6.5 basic_string::pop_back -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc index 641816e2575..6c4cb9e9b80 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2009-11-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/errno.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/errno.cc index 6851a47e5ae..9b06ee0473f 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/errno.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/errno.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc index 3793da152a4..39b96b67998 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc index e8a39497dc6..4108691c761 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc index 6b36bf195bb..b039c481db8 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc index 7c7ae7b092e..0322fcd461f 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc index 4c3b04d9c8a..05a6384a287 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc index 6b7543aeda5..579d550dae4 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc index f77f461f4c7..77b398460fc 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc index 60c88fe5dd2..3c1b2b722de 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/to_string.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/to_string.cc index d9a0d239675..4205a2a2f4f 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/to_string.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/to_string.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/dr1261.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/dr1261.cc index 0ac7e206f29..abeb0c3e01a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/dr1261.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/dr1261.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2009-11-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc index f4ad6f1a3d6..bd64cc2d250 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc index 0e94d9e9e11..4d602ce9a2c 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc index d63f16e4a41..6e3ca6fe14a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc index 9efed742703..fe6b5bf0b70 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc index b5cb4f2ae70..79bae37a5ec 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc index 27f108eaaa4..36f092285dd 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc index a43a6eece0d..a7a6838005a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc index a4b8eb9f9ee..dfa5784971a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/to_wstring.cc b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/to_wstring.cc index 246aeae3275..cbfc1b8b976 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/to_wstring.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/to_wstring.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2008-06-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/3.cc b/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/3.cc index 7f72156be52..d88aeeb6f24 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/3.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/3.cc @@ -17,7 +17,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/4.cc b/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/4.cc index 712c2a7d660..ca3b75d98e3 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/4.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/4.cc @@ -17,7 +17,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/65630.cc b/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/65630.cc index 46032ec0608..04a4f51b568 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/65630.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/operators/char/65630.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -fno-implicit-templates -O0" } -// { dg-do link } +// { dg-options "-fno-implicit-templates -O0" } +// { dg-do link { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/3.cc b/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/3.cc index 2ee0b3c0aaa..37ac3f6ce5d 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/3.cc @@ -17,7 +17,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/4.cc b/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/4.cc index a23b2f0738e..16e45ba46a7 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/4.cc @@ -17,7 +17,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/65630.cc b/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/65630.cc index ea21cc4f0b2..fbb80c30300 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/65630.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/65630.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -fno-implicit-templates -O0" } -// { dg-do link } +// { dg-options "-fno-implicit-templates -O0" } +// { dg-do link { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/range_access/char/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/range_access/char/1.cc index c162bf8f1d3..43b24be4f57 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/range_access/char/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/range_access/char/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/range_access/wchar_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/range_access/wchar_t/1.cc index e1c5aab7ba7..60895883df3 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/range_access/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/range_access/wchar_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/citerators.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/citerators.cc index 193991a58e7..40fa65b6bf3 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/basic.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/basic.cc index 160e2d3988f..5f3988817c1 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-10 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/generation_prohibited.cc index 9e5a3f2e513..d03da27cbfd 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-14 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/propagation_consistent.cc index 28bd66cd286..a9f44ac38c0 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-14 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc index cdb40f99057..24eb37c94bd 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc index 0284ced1de5..9eb6a6a1017 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/typedefs.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/typedefs.cc index 792b6206b04..3c14882c879 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char/65049.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char/65049.cc index f110413fb6d..e9ccbb4a843 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char/65049.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char/65049.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // libstdc++/65049 diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/65049.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/65049.cc index 4d7c0ed58f6..6cc1de85edf 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/65049.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/65049.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // libstdc++/65049 diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc index 2ec03c6bbd2..222d7a57b80 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/65049.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/65049.cc index 1dfede2ea7e..1c1fcbb5cf8 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/65049.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/65049.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // libstdc++/65049 diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc index 24ef818fa1e..23fa4ab5ea7 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/constexpr_functions.cc index e8b7f07c94b..f13d5ce45f9 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc index e0bb519a988..8fb4155d99a 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc index 84a8732554e..2ebe185b975 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t/65049.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t/65049.cc index ec108c5030b..3ec70983ee2 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t/65049.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t/65049.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // libstdc++/65049 diff --git a/libstdc++-v3/testsuite/21_strings/debug/shrink_to_fit.cc b/libstdc++-v3/testsuite/21_strings/debug/shrink_to_fit.cc index 76d9f26fc16..64fa84d93ce 100644 --- a/libstdc++-v3/testsuite/21_strings/debug/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/21_strings/debug/shrink_to_fit.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc b/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc index 4e12e372549..fed43e9f53b 100644 --- a/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/22_locale/classification/isblank.cc b/libstdc++-v3/testsuite/22_locale/classification/isblank.cc index 266997a99f0..8ca46df4dc1 100644 --- a/libstdc++-v3/testsuite/22_locale/classification/isblank.cc +++ b/libstdc++-v3/testsuite/22_locale/classification/isblank.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 22.3.3.1 Character classification [classification] diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc b/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc index 012ccf5a4b8..2a65306623b 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // [locale.codecvt], C++11 22.4.1.4. specialization. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc b/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc index 92f3451c075..a77a16dd486 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2014-04-24 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/66417.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/66417.cc index 80be5493543..487335c1dc8 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/66417.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/66417.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc index dd9a6f906d9..a0000956b24 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc @@ -16,8 +16,7 @@ // . // { dg-require-cstdint "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/69703.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/69703.cc index 745d2c27917..0381f9fd34d 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/69703.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/69703.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc index ee42f5823b5..12ac516637e 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc @@ -16,8 +16,7 @@ // . // { dg-require-cstdint "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc index 49b750f91e3..081db20217b 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc index f64e9f6d2bd..4ebb6a424e0 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc @@ -16,8 +16,7 @@ // . // { dg-require-cstdint "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc b/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc index a708d6c4d92..a20feb5ce94 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc @@ -16,7 +16,7 @@ // . // { dg-require-cstdint "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt_byname/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt_byname/1.cc index 7016d4c4c1e..7f50898e06e 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt_byname/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt_byname/1.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc b/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc index 4e25a7c4fb8..229e2c63b93 100644 --- a/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc +++ b/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/conversions/buffer/1.cc b/libstdc++-v3/testsuite/22_locale/conversions/buffer/1.cc index 63e152def41..8c8c77f2423 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/buffer/1.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/buffer/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/conversions/buffer/requirements/typedefs.cc b/libstdc++-v3/testsuite/22_locale/conversions/buffer/requirements/typedefs.cc index 24edcbdaec6..81d7ec11a53 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/buffer/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/buffer/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc b/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc index 25c058657d4..ce73a06a5fa 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/conversions/string/2.cc b/libstdc++-v3/testsuite/22_locale/conversions/string/2.cc index b445b63fce5..08a28e6cb10 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/string/2.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/string/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/conversions/string/3.cc b/libstdc++-v3/testsuite/22_locale/conversions/string/3.cc index b563a1d7b4d..e5c4127bcd7 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/string/3.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/string/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/conversions/string/66441.cc b/libstdc++-v3/testsuite/22_locale/conversions/string/66441.cc index f054553151d..242d7e7daec 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/string/66441.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/string/66441.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // libstdc++/66441 diff --git a/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs-2.cc index 86c37875830..85a2f9ef0f4 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs-2.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs-2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs.cc b/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs.cc index 8148443b760..4bcb5d6d395 100644 --- a/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/22_locale/conversions/string/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/ctype_base/blank.cc b/libstdc++-v3/testsuite/22_locale/ctype_base/blank.cc index 41fa25c6c31..661a49b4a38 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype_base/blank.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype_base/blank.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/22_locale/ctype_byname/2.cc b/libstdc++-v3/testsuite/22_locale/ctype_byname/2.cc index 00d309e87d8..f52f191b838 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype_byname/2.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype_byname/2.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc index cc569749446..76f730ab875 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc @@ -1,5 +1,5 @@ // { dg-require-iconv "ISO-8859-1" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2006-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/messages_byname/1.cc b/libstdc++-v3/testsuite/22_locale/messages_byname/1.cc index 3f7f2c7d37e..d9651b3f687 100644 --- a/libstdc++-v3/testsuite/22_locale/messages_byname/1.cc +++ b/libstdc++-v3/testsuite/22_locale/messages_byname/1.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/moneypunct_byname/1.cc b/libstdc++-v3/testsuite/22_locale/moneypunct_byname/1.cc index 0238b238c98..188dddca77d 100644 --- a/libstdc++-v3/testsuite/22_locale/moneypunct_byname/1.cc +++ b/libstdc++-v3/testsuite/22_locale/moneypunct_byname/1.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/numpunct_byname/1.cc b/libstdc++-v3/testsuite/22_locale/numpunct_byname/1.cc index e7866c2cf82..9b087b38a9a 100644 --- a/libstdc++-v3/testsuite/22_locale/numpunct_byname/1.cc +++ b/libstdc++-v3/testsuite/22_locale/numpunct_byname/1.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/char/1.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/char/1.cc index 3496e76e945..de6f06c922e 100644 --- a/libstdc++-v3/testsuite/22_locale/time_get/get/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/time_get/get/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc index 9938530729b..35ec627aa8c 100644 --- a/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc +++ b/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc @@ -1,5 +1,5 @@ // { dg-require-namedlocale "de_DE.UTF-8" } -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/1.cc index c0c4116d996..db8c06e7ffb 100644 --- a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc index c3fc26c6184..63b70d849dd 100644 --- a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc @@ -1,5 +1,5 @@ // { dg-require-namedlocale "de_DE.UTF-8" } -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/23_containers/array/capacity/constexpr_functions.cc b/libstdc++-v3/testsuite/23_containers/array/capacity/constexpr_functions.cc index 9120db90845..e80a1f54861 100644 --- a/libstdc++-v3/testsuite/23_containers/array/capacity/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/23_containers/array/capacity/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/capacity/empty.cc b/libstdc++-v3/testsuite/23_containers/array/capacity/empty.cc index 0bac9a7523a..a248437c543 100644 --- a/libstdc++-v3/testsuite/23_containers/array/capacity/empty.cc +++ b/libstdc++-v3/testsuite/23_containers/array/capacity/empty.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/capacity/max_size.cc b/libstdc++-v3/testsuite/23_containers/array/capacity/max_size.cc index 31008eb5963..fdfbb90209e 100644 --- a/libstdc++-v3/testsuite/23_containers/array/capacity/max_size.cc +++ b/libstdc++-v3/testsuite/23_containers/array/capacity/max_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/capacity/size.cc b/libstdc++-v3/testsuite/23_containers/array/capacity/size.cc index 2584d3b9c90..a070d967858 100644 --- a/libstdc++-v3/testsuite/23_containers/array/capacity/size.cc +++ b/libstdc++-v3/testsuite/23_containers/array/capacity/size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/equal.cc b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/equal.cc index 4081b4dfec9..4df3df9a009 100644 --- a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/equal.cc +++ b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater.cc b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater.cc index da35b064127..25d96ed6973 100644 --- a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater.cc +++ b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater_or_equal.cc b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater_or_equal.cc index 98f0b78c13e..e2f3dc29de9 100644 --- a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater_or_equal.cc +++ b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater_or_equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less.cc b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less.cc index 65fcb91833e..965466713b8 100644 --- a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less.cc +++ b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2004-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less_or_equal.cc b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less_or_equal.cc index 8961b40dfd0..5075927fc55 100644 --- a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less_or_equal.cc +++ b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/less_or_equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/not_equal.cc b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/not_equal.cc index 978ac0f0130..874ff0ee41b 100644 --- a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/not_equal.cc +++ b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/not_equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/cons/53361.cc b/libstdc++-v3/testsuite/23_containers/array/cons/53361.cc index 8195769856d..0447669b844 100644 --- a/libstdc++-v3/testsuite/23_containers/array/cons/53361.cc +++ b/libstdc++-v3/testsuite/23_containers/array/cons/53361.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-missing-braces" } -// { dg-do compile } +// { dg-options "-Wno-missing-braces" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/cons/aggregate_initialization.cc b/libstdc++-v3/testsuite/23_containers/array/cons/aggregate_initialization.cc index 0dc356ff368..e0f5981b57e 100644 --- a/libstdc++-v3/testsuite/23_containers/array/cons/aggregate_initialization.cc +++ b/libstdc++-v3/testsuite/23_containers/array/cons/aggregate_initialization.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. // diff --git a/libstdc++-v3/testsuite/23_containers/array/debug/back1_neg.cc b/libstdc++-v3/testsuite/23_containers/array/debug/back1_neg.cc index c5b8d84c06e..a2cdb8aab6e 100644 --- a/libstdc++-v3/testsuite/23_containers/array/debug/back1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/debug/back1_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 xfail *-*-* } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/array/debug/back2_neg.cc b/libstdc++-v3/testsuite/23_containers/array/debug/back2_neg.cc index c5771edd453..153a50d6cbd 100644 --- a/libstdc++-v3/testsuite/23_containers/array/debug/back2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/debug/back2_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 xfail *-*-* } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/array/debug/front1_neg.cc b/libstdc++-v3/testsuite/23_containers/array/debug/front1_neg.cc index a4ec8355473..72e371f9e39 100644 --- a/libstdc++-v3/testsuite/23_containers/array/debug/front1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/debug/front1_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 xfail *-*-* } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/array/debug/front2_neg.cc b/libstdc++-v3/testsuite/23_containers/array/debug/front2_neg.cc index ae312c7273f..690c6426366 100644 --- a/libstdc++-v3/testsuite/23_containers/array/debug/front2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/debug/front2_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 xfail *-*-* } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc b/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc index f75aae23db5..1ea562e7b90 100644 --- a/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 xfail *-*-* } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc b/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc index 5847162400d..31649e8e17a 100644 --- a/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 xfail *-*-* } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/54388.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/54388.cc index c7547214e54..f8ce419e7f5 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/54388.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/54388.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc index d3274792168..431205adedb 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/at_neg.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/at_neg.cc index 69029321bd2..7f86b6e2c96 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/at_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/at_neg.cc @@ -1,5 +1,4 @@ -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++11" } +// { dg-do run {target c++11 xfail *-*-* } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/at_out_of_range.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/at_out_of_range.cc index 0b9fa306d2d..e85255c52e8 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/at_out_of_range.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/at_out_of_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/back.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/back.cc index 2ca3787d494..457dd9c4a17 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/back.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/back.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/constexpr_element_access.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/constexpr_element_access.cc index ce4fd802cd3..65278f997fd 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/constexpr_element_access.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/constexpr_element_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/data.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/data.cc index 1004e4799a3..d6413132f48 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/data.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/data.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/element_access/front.cc b/libstdc++-v3/testsuite/23_containers/array/element_access/front.cc index 2e661279459..bb7f964a050 100644 --- a/libstdc++-v3/testsuite/23_containers/array/element_access/front.cc +++ b/libstdc++-v3/testsuite/23_containers/array/element_access/front.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/iterators/end_is_one_past.cc b/libstdc++-v3/testsuite/23_containers/array/iterators/end_is_one_past.cc index 331bb985334..a24fc6cef90 100644 --- a/libstdc++-v3/testsuite/23_containers/array/iterators/end_is_one_past.cc +++ b/libstdc++-v3/testsuite/23_containers/array/iterators/end_is_one_past.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/range_access.cc b/libstdc++-v3/testsuite/23_containers/array/range_access.cc index 201db464991..b64613ed12e 100644 --- a/libstdc++-v3/testsuite/23_containers/array/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/array/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/citerators.cc index 995aa1ad0aa..afb7d15ddd8 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/contiguous.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/contiguous.cc index 457b5d20bd0..7292feca242 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/contiguous.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/contiguous.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/1.cc index 9cf774aa3c6..f6f1b15cbaf 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/2.cc index 3fe485f7200..5b16d4372eb 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/3.cc index a09d3070317..3ea9ef0678e 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/fill.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/fill.cc index c32b33106b2..d11537a6344 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/fill.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/fill.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-13 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/member_swap.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/member_swap.cc index a0efffa90f1..d7881d1977a 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/member_swap.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/member_swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/non_default_constructible.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/non_default_constructible.cc index a68d08e17ac..bdb3dceb418 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/non_default_constructible.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/non_default_constructible.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/typedefs.cc index 5b945e7ddf0..0f75091ce2f 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/requirements/zero_sized_arrays.cc b/libstdc++-v3/testsuite/23_containers/array/requirements/zero_sized_arrays.cc index 66b745f2b65..6371e10728e 100644 --- a/libstdc++-v3/testsuite/23_containers/array/requirements/zero_sized_arrays.cc +++ b/libstdc++-v3/testsuite/23_containers/array/requirements/zero_sized_arrays.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/specialized_algorithms/swap.cc b/libstdc++-v3/testsuite/23_containers/array/specialized_algorithms/swap.cc index 7806d143f65..9fe5b80c071 100644 --- a/libstdc++-v3/testsuite/23_containers/array/specialized_algorithms/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/array/specialized_algorithms/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/constexpr_get.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/constexpr_get.cc index 52808ffe71f..d1f3f5b1e8c 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/constexpr_get.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/constexpr_get.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. // diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get.cc index 890c6654faf..d017e10f17c 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-05-16 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc index 6d469a54389..6ad09d6ac24 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-debug-mode "" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc index ad09d41ef5a..f99bbf6b26b 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element.cc index 65da7537df9..8f3e7c6c1e6 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_cpp14.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_cpp14.cc index c249fccd0fd..3e081dce27d 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_cpp14.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_cpp14.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc index 6789f233c75..d5ab406c3d2 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-debug-mode "" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc index 738bf17f735..1941f3c1893 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_size.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_size.cc index 6fe501e8e04..33ad01cbc01 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_size.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_size.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/cons/2.cc b/libstdc++-v3/testsuite/23_containers/bitset/cons/2.cc index fd45909ccc0..d5cd9a09599 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/cons/2.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/cons/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/cons/3.cc b/libstdc++-v3/testsuite/23_containers/bitset/cons/3.cc index 37fad1354ee..982565831fe 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/cons/3.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/cons/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2009-12-31 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/bitset/cons/50268.cc b/libstdc++-v3/testsuite/23_containers/bitset/cons/50268.cc index dc772bfc41e..f145a8437ae 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/cons/50268.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/cons/50268.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/cons/constexpr.cc b/libstdc++-v3/testsuite/23_containers/bitset/cons/constexpr.cc index 0701d9b281e..37b5405e2b6 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-1.cc b/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-1.cc index a891874d25a..c8c23e7d055 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-1.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-10-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-2.cc b/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-2.cc index ed8e944b419..02f648a5a10 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-2.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/bitset/hash/1.cc b/libstdc++-v3/testsuite/23_containers/bitset/hash/1.cc index c993f8918d7..c3c1320204b 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/hash/1.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/hash/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr-2.cc b/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr-2.cc index 32086f7d1aa..135a3a07163 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr-2.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr-2.cc @@ -1,6 +1,5 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr.cc b/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr.cc index c42cd5557b5..5ac5e504201 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/operations/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/23_containers/bitset/requirements/constexpr_functions.cc index 87648d82ec4..f1cd2253d9f 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/bitset/requirements/explicit_instantiation/1_c++0x.cc index 7e7abaedfb1..ad210cfdb82 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/bitset/to_ullong/1.cc b/libstdc++-v3/testsuite/23_containers/bitset/to_ullong/1.cc index 627a4828b00..baffa14f8f6 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset/to_ullong/1.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset/to_ullong/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2009-12-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/deque/58764.cc b/libstdc++-v3/testsuite/23_containers/deque/58764.cc index 24465b257a9..6323b6ceb48 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/58764.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/58764.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/58764 diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/copy.cc index fc4fcba44e7..b7ce4d3afb6 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/copy_assign.cc index f4564611086..001f8a88f59 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/ext_ptr.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/ext_ptr.cc index 1c088928f7d..a8fd1ba412d 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/ext_ptr.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/ext_ptr.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/minimal.cc index fbb32e0a0b7..709f6dcb963 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/move-2.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/move-2.cc index 254e7afa62d..c2b341f2910 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/move-2.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/move-2.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/move.cc index f4fab05d054..668d517e790 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign-2.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign-2.cc index f4c644997dc..e5ecfe3cdc2 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign-2.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign-2.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11 -fno-access-control" } +// { dg-do compile { target c++11 } } +// { dg-options "-fno-access-control" } // libstdc++/52591 diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign.cc index 38965e5ae51..f554210d3c0 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/noexcept.cc index c69c2edf927..7438e88396f 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/deque/allocator/swap.cc index bd7fd2501c0..c8911721ddf 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/capacity/moveable.cc b/libstdc++-v3/testsuite/23_containers/deque/capacity/moveable.cc index dfb5218ffc1..d94073071da 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/capacity/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/capacity/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/capacity/resize_size.cc b/libstdc++-v3/testsuite/23_containers/deque/capacity/resize_size.cc index 12d1405170f..0d2eb2a37b2 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/capacity/resize_size.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/capacity/resize_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/deque/capacity/shrink_to_fit.cc b/libstdc++-v3/testsuite/23_containers/deque/capacity/shrink_to_fit.cc index 52984514c00..3137b70a357 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/capacity/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/capacity/shrink_to_fit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-01-08 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/deque/cons/55977.cc b/libstdc++-v3/testsuite/23_containers/deque/cons/55977.cc index 9d493e3dd49..c3878456172 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/cons/55977.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/cons/55977.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/cons/cons_size.cc b/libstdc++-v3/testsuite/23_containers/deque/cons/cons_size.cc index f067eea6537..c2d8e63de72 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/cons/cons_size.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/cons/cons_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/deque/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/deque/cons/moveable.cc index 075e816383e..6779ce1f50b 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/cons/moveable2.cc b/libstdc++-v3/testsuite/23_containers/deque/cons/moveable2.cc index d41698e3380..830c64269ea 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/cons/moveable2.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/cons/moveable2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc index c6e8e0a2498..28e2e64fec5 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/deque/debug/self_move_assign_neg.cc index 316467b236d..b378cd2aec5 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/debug/shrink_to_fit.cc b/libstdc++-v3/testsuite/23_containers/deque/debug/shrink_to_fit.cc index acc35e87c0d..51e0cb182f1 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/debug/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/debug/shrink_to_fit.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/init-list.cc b/libstdc++-v3/testsuite/23_containers/deque/init-list.cc index d970ccedc22..9f7108b842f 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/52799.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/52799.cc index 2dc9f11738e..77e2329a0d7 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/52799.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/52799.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc index 0552ead661b..76c94d421e5 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/50529.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/50529.cc index 2b259d7dd0b..8471994704d 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/50529.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/50529.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-09-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/54577.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/54577.cc index 35085abf1e2..6b11866dfdc 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/54577.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/54577.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/moveable.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/moveable.cc index caf2a00d1d2..9bfd306057f 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/insert/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/insert/const_iterator.cc index 8bcc03ee084..3ac8c94cef8 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/insert/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/insert/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/moveable.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/moveable.cc index c966f54d1c5..7cee6f02de3 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_back/49836.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_back/49836.cc index 7cf945c7004..d40610d5a07 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_back/49836.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_back/49836.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_front/49836.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_front/49836.cc index 74a8167239e..44cf03dc08e 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_front/49836.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/push_front/49836.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/range_access.cc b/libstdc++-v3/testsuite/23_containers/deque/range_access.cc index ca5c5d18718..5fcd5000ca0 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/deque/requirements/citerators.cc index 0598f4eaa58..cd658ae50bd 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/deque/requirements/do_the_right_thing.cc b/libstdc++-v3/testsuite/23_containers/deque/requirements/do_the_right_thing.cc index 2d76aadd809..64ea7e19905 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/requirements/do_the_right_thing.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/requirements/do_the_right_thing.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/basic.cc index e77ea3372ed..34155869b6d 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/generation_prohibited.cc index bea463d7a5c..e3a78bdfa98 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/propagation_consistent.cc index 8eb341435ec..ad022e5bde5 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/deque/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/deque/requirements/explicit_instantiation/1_c++0x.cc index 5ad2b81ed20..590b8486faf 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/deque/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/deque/requirements/typedefs.cc index c748944d5ad..308ba300efa 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy.cc index 1beca7a4c60..fbf24cddf7d 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy_assign.cc index 5de185237ab..ee39149c29c 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/ext_ptr.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/ext_ptr.cc index ee67fac5c06..c164a6ad73b 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/ext_ptr.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/ext_ptr.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/minimal.cc index c852354bb69..3d5ac411510 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move.cc index d36ce1e85d7..554c9b01eb9 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move_assign.cc index f22411adeab..e4fbbb2b9b6 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/noexcept.cc index c87b07e015a..fe6ba667de9 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/swap.cc index a08aa34c2da..9436438f846 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/capacity/1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/capacity/1.cc index 6a2cb8e6325..79b47dafa07 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/capacity/1.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/capacity/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/capacity/resize_size.cc b/libstdc++-v3/testsuite/23_containers/forward_list/capacity/resize_size.cc index 5c6e2d01a60..99f30fa0dc4 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/capacity/resize_size.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/capacity/resize_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/comparable.cc b/libstdc++-v3/testsuite/23_containers/forward_list/comparable.cc index c0605894ad5..7e7663b3dbc 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/comparable.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/comparable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/1.cc index ad4a77605dc..7879de8c41b 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/1.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/10.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/10.cc index e5b30f91ea9..98fad90ca4c 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/10.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/10.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/11.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/11.cc index 797b2803ad7..ba5f741f8e0 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/11.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/11.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/12.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/12.cc index caca85536b0..2d4dba5daab 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/12.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/12.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/13.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/13.cc index 9c423d0a3ee..cb775606e72 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/13.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/13.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/14.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/14.cc index 739a4c0c34b..036f0790c6c 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/14.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/14.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/2.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/2.cc index 775bc62b8a3..10897645ddf 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/2.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/3.cc index f01d837cde5..d862130611b 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/3.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/4.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/4.cc index 82cc759dd8d..a3524bbf2ee 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/4.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/5.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/5.cc index bdee457eac0..8721444ca92 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/5.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/5.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/6.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/6.cc index fd778f356d4..cbfea664d43 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/6.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/6.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/7.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/7.cc index aa49cfaa698..430bf90747f 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/7.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/7.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/8.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/8.cc index 56e5fb49823..9c8eefb18b6 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/8.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/8.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/9.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/9.cc index b01af9f8882..99a7a976c69 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/9.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/9.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/cons_size.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/cons_size.cc index a794233d394..931534dbd63 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/cons_size.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/cons_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/moveable.cc index d2a8c43c0cc..74ee4fbc02e 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/forward_list/cons/noexcept_move_construct.cc index eb0bc6e5bf4..50dc1b00ad8 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/60499.cc index 64f24a7ab97..ed5caceef98 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/clear.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/clear.cc index 8cb889cef1a..2b35f39434b 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/clear.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/clear.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct1_neg.cc index 9009d675592..cd0864f003a 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct2_neg.cc index d2e17ef7b87..a9d4bda766f 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct3_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct3_neg.cc index 87b3520b070..b62204402e7 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct4_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct4_neg.cc index 26188c84fc8..3ccd0c0179b 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/construct4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc index 17d70f3e3a4..59e03be4a91 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2_neg.cc index 3fa2a14f7c8..a5a274380bc 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3_neg.cc index 5166a993575..dc14635415e 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4_neg.cc index 5b67cef2614..156db150647 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5_neg.cc index 0eb7f236085..68f7fe82d42 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6_neg.cc index 7684d6f0e2e..5fd14962e4c 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7_neg.cc index c6d9d4fa347..ecf60ffdba1 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8_neg.cc index 30e933d244c..3cfa7dc5d59 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9_neg.cc index 055d6b14d7a..ee7db912e90 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1_neg.cc index 91616426f30..ae2f39940cc 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2_neg.cc index 86c97b0bf52..f1fce3b744d 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3_neg.cc index 40eeb71b4c5..35706b809ba 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after4_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after4_neg.cc index 38cc33f7eea..2898090c49a 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after4_neg.cc @@ -16,8 +16,8 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG_PEDANTIC" } -// { dg-do run { xfail *-*-* } } +// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc index 71f072c6848..bc197a57c41 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc index a1c800c8248..fd0fbb7e3df 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_constructor.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_constructor.cc index e33e947c7bb..0073b11a597 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_constructor.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_constructor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_neg.cc index f11d2fac5e8..295f203bde5 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc index f5be16480fa..e50d37f0e9e 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after.cc index 182ba68e7e4..d5beb0e77d6 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1_neg.cc index 98ccbb71d30..5f74f9cf23e 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2_neg.cc index 630ed98e80f..1416d616c15 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3_neg.cc index e6e196f6d62..96b8290d87a 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4_neg.cc index 1e2b5744d9d..cfcc1b26dfa 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after5_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after5_neg.cc index ccb1ee7953e..5bcf38d27a2 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after5_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after6_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after6_neg.cc index e0d4ed7d047..bf49d4337bf 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after6_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after6_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after7_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after7_neg.cc index 3cf05fb755a..6e8b067c266 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after7_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after7_neg.cc @@ -1,6 +1,5 @@ -// { dg-options "-std=gnu++11" } // { dg-require-debug-mode "" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc index 753a407b209..9446fce66ca 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/1.cc index aa5cf4cddcb..3e31bbc29ec 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/1.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/2.cc b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/2.cc index 8cbfc0ffc08..e2d1ce772f5 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/2.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/3.cc index 45be616dae6..498c735dc38 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/3.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/4.cc b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/4.cc index 49b7a0c1a50..3a0632448d9 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/4.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/5.cc b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/5.cc index 0f9e8069090..13f502cfbab 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/5.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/5.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/6.cc b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/6.cc index 9c9bbecfa04..790d524fae9 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/6.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/6.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/addressof.cc b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/addressof.cc index 8299a040117..eb23215c99e 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/addressof.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/addressof.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc index dec9243f2a6..0d7d24c23e3 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc index 242bbdaa82f..80cbe1575ab 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc index e21291b81ba..b894e7a751c 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc index 6b2a95c14a7..6874ba148f4 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc index 75e6d288266..3d22607cfb8 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc index 98aad4d8176..02931cd4bcd 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc index b144d7a1f1e..0bbd973e41f 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/operations/remove_freed.cc b/libstdc++-v3/testsuite/23_containers/forward_list/operations/remove_freed.cc index f05ee8c67bf..35798156ee2 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/operations/remove_freed.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/operations/remove_freed.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-08-11 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/range_access.cc b/libstdc++-v3/testsuite/23_containers/forward_list/range_access.cc index 4d3bb29b0c8..446767bf8cd 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/citerators.cc index f5f3694affc..db3b0bfcd87 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/do_the_right_thing.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/do_the_right_thing.cc index 97602454056..0cb64c21e48 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/do_the_right_thing.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/do_the_right_thing.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc index 1fa2106b482..6ba5c784492 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor.cc index 9aa3beddb8b..fae556e5a76 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc index 829c84d5a05..3e931a35589 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc index 2ebcec3002d..7a123ed8c81 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc index cc2f2af0f96..ee9076fdb1a 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/basic.cc index 3f1fbbb2a01..af838173b95 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/generation_prohibited.cc index f3a32952312..8e79838509f 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/propagation_consistent.cc index cb1d1a96247..dd60673afe8 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/1.cc index 22b4104f1ef..2152d0a178f 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/1.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // @@ -22,6 +21,6 @@ #include -// { dg-do compile } +// { dg-do compile { target c++11 } } template class std::forward_list; diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/3.cc index ddf13bea033..e2a4e401b75 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/3.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/21770 template class std::forward_list >; diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/4.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/4.cc index b7af99c31eb..bf4a31f3677 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/4.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // 2010-05-20 Paolo Carlini // @@ -26,7 +25,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/41792 template class std::forward_list<__gnu_test::OverloadedAddress>; diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/5.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/5.cc index 8018b69f58c..bdd285db3c9 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/5.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/explicit_instantiation/5.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::forward_list>; diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/typedefs.cc index 1b06a88e3f4..c652724f9a6 100644 --- a/libstdc++-v3/testsuite/23_containers/forward_list/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/forward_list/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/headers/forward_list/synopsis.cc b/libstdc++-v3/testsuite/23_containers/headers/forward_list/synopsis.cc index 14f961ae88e..b12a1cd7525 100644 --- a/libstdc++-v3/testsuite/23_containers/headers/forward_list/synopsis.cc +++ b/libstdc++-v3/testsuite/23_containers/headers/forward_list/synopsis.cc @@ -1,6 +1,5 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } -// { dg-options "-std=gnu++11" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/headers/tuple/types_std_c++0x.cc b/libstdc++-v3/testsuite/23_containers/headers/tuple/types_std_c++0x.cc index a76d2c7b0b7..dbb53cebd1a 100644 --- a/libstdc++-v3/testsuite/23_containers/headers/tuple/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/headers/tuple/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/58764.cc b/libstdc++-v3/testsuite/23_containers/list/58764.cc index 94a3b7fd284..bf7a134a01f 100644 --- a/libstdc++-v3/testsuite/23_containers/list/58764.cc +++ b/libstdc++-v3/testsuite/23_containers/list/58764.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/58764 diff --git a/libstdc++-v3/testsuite/23_containers/list/61347.cc b/libstdc++-v3/testsuite/23_containers/list/61347.cc index 2b08477ba67..0058923ac7c 100644 --- a/libstdc++-v3/testsuite/23_containers/list/61347.cc +++ b/libstdc++-v3/testsuite/23_containers/list/61347.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -O2 -D_GLIBCXX_USE_CXX11_ABI" } +// { dg-options "-O2 -D_GLIBCXX_USE_CXX11_ABI" } +// { dg-do run { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2015-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/list/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/list/allocator/copy.cc index 171a2afbbde..13d518a1fe1 100644 --- a/libstdc++-v3/testsuite/23_containers/list/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/list/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/list/allocator/copy_assign.cc index d2604d03012..7038793fd24 100644 --- a/libstdc++-v3/testsuite/23_containers/list/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/list/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/list/allocator/minimal.cc index d86b4140449..7556fd941ad 100644 --- a/libstdc++-v3/testsuite/23_containers/list/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/list/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/list/allocator/move.cc index 4c46b6ed83f..81bee4ec736 100644 --- a/libstdc++-v3/testsuite/23_containers/list/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/list/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/list/allocator/move_assign.cc index 148cc001494..e7ca4456cad 100644 --- a/libstdc++-v3/testsuite/23_containers/list/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/list/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/list/allocator/noexcept.cc index c3a00ab9e8b..f617e84e514 100644 --- a/libstdc++-v3/testsuite/23_containers/list/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/list/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/list/allocator/swap.cc index 9004fee8d7a..fa0c9e8be36 100644 --- a/libstdc++-v3/testsuite/23_containers/list/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/list/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/capacity/resize_size.cc b/libstdc++-v3/testsuite/23_containers/list/capacity/resize_size.cc index 5e602ec452a..9e9ca5792b3 100644 --- a/libstdc++-v3/testsuite/23_containers/list/capacity/resize_size.cc +++ b/libstdc++-v3/testsuite/23_containers/list/capacity/resize_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/55979.cc b/libstdc++-v3/testsuite/23_containers/list/cons/55979.cc index 94c409569bd..9ad88ed4bc8 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/55979.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/55979.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/cons_size.cc b/libstdc++-v3/testsuite/23_containers/list/cons/cons_size.cc index 7714fbbff4b..cd1aee0d276 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/cons_size.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/cons_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/list/cons/moveable.cc index b7fb39bbd8c..8ec59109a96 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/list/cons/noexcept_move_construct.cc index e18112b5737..b86d751e444 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc index 2141179e9c2..8b0639bacdb 100644 --- a/libstdc++-v3/testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/list/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/list/debug/self_move_assign_neg.cc index bbc6ff8213d..7ab40ba6d15 100644 --- a/libstdc++-v3/testsuite/23_containers/list/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/list/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/list/init-list.cc b/libstdc++-v3/testsuite/23_containers/list/init-list.cc index 39f049a3870..0d767de6f35 100644 --- a/libstdc++-v3/testsuite/23_containers/list/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/list/init-list.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/1_c++0x.cc index 54be9183a88..754383a27b8 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/1_c++0x.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/addressof.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/addressof.cc index d9199e43da6..ba7b22ab4a0 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/addressof.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/addressof.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/52799.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/52799.cc index 60f6fb634af..307f6d2b11d 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/52799.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/52799.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/const_iterator.cc index f9d1b86e699..866e867bb39 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/erase/54577.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/erase/54577.cc index 6d920081071..f69af2810ce 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/erase/54577.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/erase/54577.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/const_iterator.cc index a56c94312d8..bd31e85cbfe 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/operations/2_c++0x.cc b/libstdc++-v3/testsuite/23_containers/list/operations/2_c++0x.cc index 36a50c2292e..31c76d2b585 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operations/2_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operations/2_c++0x.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/operations/3_c++0x.cc b/libstdc++-v3/testsuite/23_containers/list/operations/3_c++0x.cc index 7f259fe3d7c..be36f0c8567 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operations/3_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operations/3_c++0x.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/operations/42352.cc b/libstdc++-v3/testsuite/23_containers/list/operations/42352.cc index 7d22af8e588..75862cedc93 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operations/42352.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operations/42352.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/operations/splice/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/list/operations/splice/const_iterator.cc index 4416a302550..2e9bcba4590 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operations/splice/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operations/splice/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/range_access.cc b/libstdc++-v3/testsuite/23_containers/list/range_access.cc index 7fa990909e2..c7b168d1abb 100644 --- a/libstdc++-v3/testsuite/23_containers/list/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/list/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/citerators.cc index a38bebbb4f9..583b8e7609e 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/do_the_right_thing.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/do_the_right_thing.cc index c560d5267d7..501cdc29b4d 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/do_the_right_thing.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/do_the_right_thing.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/exception/basic.cc index 0d495113a37..070648564d8 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/exception/generation_prohibited.cc index aef0651100e..9929f0c40e5 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/exception/propagation_consistent.cc index c31cbe61364..6043a2051be 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/1_c++0x.cc index 8e026cdf89a..2ddb44c8025 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/5_c++0x.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/5_c++0x.cc index b78f2abe1ba..d706d918ac6 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/5_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/explicit_instantiation/5_c++0x.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::list>; diff --git a/libstdc++-v3/testsuite/23_containers/list/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/list/requirements/typedefs.cc index ff9ece4b43d..365b50769f4 100644 --- a/libstdc++-v3/testsuite/23_containers/list/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/list/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/map/56613.cc b/libstdc++-v3/testsuite/23_containers/map/56613.cc index 262d15dd51f..e646afe330d 100644 --- a/libstdc++-v3/testsuite/23_containers/map/56613.cc +++ b/libstdc++-v3/testsuite/23_containers/map/56613.cc @@ -20,8 +20,7 @@ #include #include -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/56613 diff --git a/libstdc++-v3/testsuite/23_containers/map/58764.cc b/libstdc++-v3/testsuite/23_containers/map/58764.cc index ec51f2e9af3..5a671d28db1 100644 --- a/libstdc++-v3/testsuite/23_containers/map/58764.cc +++ b/libstdc++-v3/testsuite/23_containers/map/58764.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/58764 diff --git a/libstdc++-v3/testsuite/23_containers/map/59872.cc b/libstdc++-v3/testsuite/23_containers/map/59872.cc index f4d849e95a3..766588c160d 100644 --- a/libstdc++-v3/testsuite/23_containers/map/59872.cc +++ b/libstdc++-v3/testsuite/23_containers/map/59872.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/59872 diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/copy.cc index ce56e18fd72..1555e0e1139 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/copy_assign.cc index e2cb07e09b6..dbcb1fad25d 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/init-list.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/init-list.cc index 7ebcfbd2eee..3b50b302686 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/minimal.cc index a44f2b2ad9f..43045bfc193 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/move.cc index f5165ebd3f4..465ce4faf56 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/move_assign.cc index 6af1c01161d..421a068edc0 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/noexcept.cc index 6471c3fe46d..a9deae6f479 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/map/allocator/swap.cc index 532dfd111c4..f83372d4d27 100644 --- a/libstdc++-v3/testsuite/23_containers/map/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/map/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/map/cons/moveable.cc index 0b2e7291c48..2987974dff0 100644 --- a/libstdc++-v3/testsuite/23_containers/map/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/map/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/map/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/map/cons/noexcept_move_construct.cc index 62823ccc3ea..352d87966e3 100644 --- a/libstdc++-v3/testsuite/23_containers/map/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/map/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/map/debug/60499.cc index 1b54c5650d0..ad4fb4499a6 100644 --- a/libstdc++-v3/testsuite/23_containers/map/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/map/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/map/debug/construct5_neg.cc index 29b43303260..51133c49464 100644 --- a/libstdc++-v3/testsuite/23_containers/map/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/map/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc index 0debc55a97e..cc3e0e6c164 100644 --- a/libstdc++-v3/testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/map/debug/move_assign_neg.cc index da7aba17408..86ae0e898bf 100644 --- a/libstdc++-v3/testsuite/23_containers/map/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/map/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/map/debug/move_neg.cc index 4c84d0d9698..aca4d311241 100644 --- a/libstdc++-v3/testsuite/23_containers/map/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/map/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/map/debug/self_move_assign_neg.cc index 0d66bce98d6..4eb690d71d0 100644 --- a/libstdc++-v3/testsuite/23_containers/map/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/map/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/map/element_access/2.cc b/libstdc++-v3/testsuite/23_containers/map/element_access/2.cc index 29ed1acfd48..e107379fc01 100644 --- a/libstdc++-v3/testsuite/23_containers/map/element_access/2.cc +++ b/libstdc++-v3/testsuite/23_containers/map/element_access/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/map/element_access/39901.cc b/libstdc++-v3/testsuite/23_containers/map/element_access/39901.cc index 3dcc3ee0456..60680b0f4a8 100644 --- a/libstdc++-v3/testsuite/23_containers/map/element_access/39901.cc +++ b/libstdc++-v3/testsuite/23_containers/map/element_access/39901.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/map/element_access/46148.cc b/libstdc++-v3/testsuite/23_containers/map/element_access/46148.cc index 0d051f230a2..07252e14c87 100644 --- a/libstdc++-v3/testsuite/23_containers/map/element_access/46148.cc +++ b/libstdc++-v3/testsuite/23_containers/map/element_access/46148.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/map/init-list.cc b/libstdc++-v3/testsuite/23_containers/map/init-list.cc index 2d7c91d6d24..abe9cbc77aa 100644 --- a/libstdc++-v3/testsuite/23_containers/map/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/map/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/dr130.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/dr130.cc index 24a7f640c64..ce46fc8c4e9 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/dr130.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/dr130.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-07-22 Edward Smith-Rowland <3dw4rd@verizon.net> // // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/emplace/1.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/emplace/1.cc index 67c44424bc7..5738d9c69fd 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/emplace/1.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/emplace/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/51142.cc index d25f4a734b7..be5790365b0 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/abi_tag.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/abi_tag.cc index 9955a8d2226..0e9379f19fd 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/abi_tag.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/abi_tag.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options -std=gnu++11 } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/dr130-linkage-check.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/dr130-linkage-check.cc index 11b41e44ce3..1fd60bf924a 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/dr130-linkage-check.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/erase/dr130-linkage-check.cc @@ -1,6 +1,7 @@ +// { dg-do run { target c++11 } } // { dg-require-effective-target ia32 } // { dg-require-sharedlib "" } -// { dg-options "-fno-inline -std=gnu++11 ./testsuite_shared.so" } +// { dg-options "-fno-inline ./testsuite_shared.so" } // 2013-06-03 Benjamin Kosnik // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/2.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/2.cc index 3cff5fdfa64..99e3daac823 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/2.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/3.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/3.cc index 81e1d08b544..1bb504859e6 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/3.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/4.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/4.cc index 8b9006370f5..6c5b9943f9a 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/4.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/5.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/5.cc index 943add9e6b1..40b8cadeaeb 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/5.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/5.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/map/operations/2.cc b/libstdc++-v3/testsuite/23_containers/map/operations/2.cc index ea73d6ee2f5..c1cd1a84d51 100644 --- a/libstdc++-v3/testsuite/23_containers/map/operations/2.cc +++ b/libstdc++-v3/testsuite/23_containers/map/operations/2.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/operators/2.cc b/libstdc++-v3/testsuite/23_containers/map/operators/2.cc index af7b5545a4f..2236ceff9f4 100644 --- a/libstdc++-v3/testsuite/23_containers/map/operators/2.cc +++ b/libstdc++-v3/testsuite/23_containers/map/operators/2.cc @@ -17,7 +17,7 @@ // This test verifies that the value type of a map need not be default copyable. -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/map/range_access.cc b/libstdc++-v3/testsuite/23_containers/map/range_access.cc index 6dd219082e8..ffe478fd00c 100644 --- a/libstdc++-v3/testsuite/23_containers/map/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/map/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/map/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/map/requirements/citerators.cc index 98c5b396ef2..806a8eecfd4 100644 --- a/libstdc++-v3/testsuite/23_containers/map/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/map/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/map/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/map/requirements/exception/basic.cc index 2a41548e904..f93e9a52439 100644 --- a/libstdc++-v3/testsuite/23_containers/map/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/map/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/map/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/map/requirements/exception/generation_prohibited.cc index 86fa5d938b8..09675e68abd 100644 --- a/libstdc++-v3/testsuite/23_containers/map/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/map/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/map/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/map/requirements/exception/propagation_consistent.cc index bea06d4b8e8..fb4c6969dbb 100644 --- a/libstdc++-v3/testsuite/23_containers/map/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/map/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/1_c++0x.cc index 338224cc343..7567046eb0a 100644 --- a/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/5_c++0x.cc b/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/5_c++0x.cc index 0d2923464e6..fa0978a02bc 100644 --- a/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/5_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/map/requirements/explicit_instantiation/5_c++0x.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::map, diff --git a/libstdc++-v3/testsuite/23_containers/map/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/map/requirements/typedefs.cc index 3e6b32ca243..3ae04dcb982 100644 --- a/libstdc++-v3/testsuite/23_containers/map/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/map/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/58764.cc b/libstdc++-v3/testsuite/23_containers/multimap/58764.cc index fe6f5f6fe24..33281bc470c 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/58764.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/58764.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/58764 diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy.cc index 53f9f14c513..658e4a0e97b 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy_assign.cc index e16eee0c6cb..e8022f8cf7a 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/init-list.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/init-list.cc index 7d1e224d355..0c21b7c245f 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/minimal.cc index dd0217c5d68..528347d6a94 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/move.cc index 392edcce222..c1f3e746616 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/move_assign.cc index a25d373c2b2..b6b7586f5da 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/noexcept.cc index f48c3cecaed..22bfa79274f 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/multimap/allocator/swap.cc index 9ba2028bd89..7d1891e5777 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/multimap/cons/moveable.cc index 1e102cddf99..07c059292e3 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/multimap/cons/noexcept_move_construct.cc index ce65f20594a..307d93b0df0 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/60499.cc index d9586922a3c..bda4b5ca278 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/construct5_neg.cc index 4aa60bfc747..a17e61d761d 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc index 9f09e5eaee9..8062a986eb9 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/move_assign_neg.cc index 8061b9508b0..da8bd363442 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/move_neg.cc index 6cf05b6b22c..525b80e233e 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/self_move_assign_neg.cc index 086dab08c47..4f3c5f30be5 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/init-list.cc b/libstdc++-v3/testsuite/23_containers/multimap/init-list.cc index 1b93a2a88c1..341da84b745 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/dr130.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/dr130.cc index 8769de72f06..10d1404a7ca 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/dr130.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/dr130.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/emplace/1.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/emplace/1.cc index 4bc5eccfe6d..6f2d0a8a029 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/emplace/1.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/emplace/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/51142.cc index 6f3fd1ee55f..b0eca431364 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc index e9d5aa205e0..e709cb69f01 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options -std=gnu++11 } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/dr130-linkage-check.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/dr130-linkage-check.cc index 616bba024ab..694851a7e3f 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/dr130-linkage-check.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/erase/dr130-linkage-check.cc @@ -1,6 +1,7 @@ +// { dg-do run { target c++11 } } // { dg-require-effective-target ia32 } // { dg-require-sharedlib "" } -// { dg-options "-fno-inline -std=gnu++11 ./testsuite_shared.so" } +// { dg-options "-fno-inline ./testsuite_shared.so" } // 2013-06-03 Benjamin Kosnik // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/1.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/1.cc index e25903aa703..9c9c25d0e4c 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/1.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/2.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/2.cc index 15c4d97f814..632207d2942 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/2.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/3.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/3.cc index 5dc1c211795..dda817c001d 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/3.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/4.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/4.cc index f0b72b8dd0d..690d88efab5 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/4.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/operations/2.cc b/libstdc++-v3/testsuite/23_containers/multimap/operations/2.cc index 11d03a27cca..9eee2d6108d 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/operations/2.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/operations/2.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multimap/range_access.cc b/libstdc++-v3/testsuite/23_containers/multimap/range_access.cc index 705f3a23250..fb5360a4955 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/multimap/requirements/citerators.cc index 4b90a97492b..1bfb36d642c 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/basic.cc index 02ce8937bcc..d4c3dca8efc 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/generation_prohibited.cc index 924925e5b2f..77253fd7b6e 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/propagation_consistent.cc index bea6c626343..267a4d0f544 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/1_c++0x.cc index 79b4cb8bb5a..1f7000c8342 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/5_c++0x.cc b/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/5_c++0x.cc index dc9575cf385..3ca69283eb9 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/5_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/requirements/explicit_instantiation/5_c++0x.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::multimap, diff --git a/libstdc++-v3/testsuite/23_containers/multimap/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/multimap/requirements/typedefs.cc index 7251b6951de..1ae3309a90a 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/58764.cc b/libstdc++-v3/testsuite/23_containers/multiset/58764.cc index 803a3e3a6a6..3375f6baf56 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/58764.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/58764.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/58764 diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy.cc index ff0eb2f600a..dfa2d571d84 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy_assign.cc index d6247cb97b5..1f981719455 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/init-list.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/init-list.cc index f23dc15c7ba..f0b0b20a45d 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/minimal.cc index a865245720e..cb284e7640f 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/move.cc index 456f6fba0d0..c37dcb89a0c 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/move_assign.cc index 7fd18a45630..a03e911f2c8 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/noexcept.cc index c2f7f8accb6..df317b758be 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/multiset/allocator/swap.cc index 983c5fe52f8..ebcde055709 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/multiset/cons/moveable.cc index d87b453e6db..b23d02b73cf 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/multiset/cons/noexcept_move_construct.cc index 5b9f41c4a36..35c2953fe38 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/60499.cc index 5b94e3aaefb..b543590aecd 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/construct5_neg.cc index f4e6d4c7522..859c2169072 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc index dc1c1c18a33..92ea5df3bdb 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/move_assign_neg.cc index dc9ea06db14..154c1e23814 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/move_neg.cc index 1e397d0d192..7ea591dd7fb 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/self_move_assign_neg.cc index fa6edf9b105..4c5ed569dd9 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/init-list.cc b/libstdc++-v3/testsuite/23_containers/multiset/init-list.cc index ba493a32dba..0442d239abc 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/dr130.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/dr130.cc index 0ceac1debc3..3cd567663bb 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/dr130.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/dr130.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/emplace/1.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/emplace/1.cc index 15e861ccd93..17ae625cbcd 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/emplace/1.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/emplace/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/51142.cc index 7f3fc5bb73d..83c0cf03f1f 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc index 33f9966bffa..7c95f992550 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options -std=gnu++11 } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/dr130-linkage-check.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/dr130-linkage-check.cc index 4d96bc4b558..879aaf10e73 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/dr130-linkage-check.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/dr130-linkage-check.cc @@ -1,6 +1,7 @@ +// { dg-do run { target c++11 } } // { dg-require-effective-target ia32 } // { dg-require-sharedlib "" } -// { dg-options "-fno-inline -std=gnu++11 ./testsuite_shared.so" } +// { dg-options "-fno-inline ./testsuite_shared.so" } // 2013-06-03 Benjamin Kosnik // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/3.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/3.cc index 3b5c1758f7e..d0bc2133ca8 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/3.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/4.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/4.cc index b9a19f323db..d6f79562909 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/4.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/operations/2.cc b/libstdc++-v3/testsuite/23_containers/multiset/operations/2.cc index 974a97ade3a..c6483cf605d 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/operations/2.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/operations/2.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/multiset/range_access.cc b/libstdc++-v3/testsuite/23_containers/multiset/range_access.cc index 3740501d3d7..3de462ecdb3 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/multiset/requirements/citerators.cc index f00afddabc5..9b67daa2c61 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/basic.cc index ae95b70e589..7851362777d 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/generation_prohibited.cc index 0917661065a..a56a04c8333 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/propagation_consistent.cc index c8a8a6ed6dc..66b79f7a427 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/1_c++0x.cc index 8d99c74a7d5..ad05e6b1375 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/5_c++0x.cc b/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/5_c++0x.cc index 8f37c2e47f6..73e15377182 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/5_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/requirements/explicit_instantiation/5_c++0x.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::multiset, diff --git a/libstdc++-v3/testsuite/23_containers/multiset/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/multiset/requirements/typedefs.cc index 18bf751b057..faabc0657ed 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/priority_queue/moveable.cc b/libstdc++-v3/testsuite/23_containers/priority_queue/moveable.cc index 2c40bd732d8..a60e5e21c35 100644 --- a/libstdc++-v3/testsuite/23_containers/priority_queue/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/priority_queue/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/explicit_instantiation/1_c++0x.cc index 582080fba7f..15b389137f2 100644 --- a/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/typedefs.cc index c8422cd56b1..ab734070a23 100644 --- a/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/uses_allocator.cc b/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/uses_allocator.cc index 87419ac6268..735b46e6a5b 100644 --- a/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/uses_allocator.cc +++ b/libstdc++-v3/testsuite/23_containers/priority_queue/requirements/uses_allocator.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/queue/moveable.cc b/libstdc++-v3/testsuite/23_containers/queue/moveable.cc index 141048bdaca..59d943929f0 100644 --- a/libstdc++-v3/testsuite/23_containers/queue/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/queue/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/queue/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/queue/requirements/explicit_instantiation/1_c++0x.cc index 06cf0186224..ff4b4b49e9c 100644 --- a/libstdc++-v3/testsuite/23_containers/queue/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/queue/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/queue/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/queue/requirements/typedefs.cc index 9dd46229fa2..436d6ae4776 100644 --- a/libstdc++-v3/testsuite/23_containers/queue/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/queue/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/queue/requirements/uses_allocator.cc b/libstdc++-v3/testsuite/23_containers/queue/requirements/uses_allocator.cc index 82a1e52a9a2..06b98d4d4cf 100644 --- a/libstdc++-v3/testsuite/23_containers/queue/requirements/uses_allocator.cc +++ b/libstdc++-v3/testsuite/23_containers/queue/requirements/uses_allocator.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/set/58764.cc b/libstdc++-v3/testsuite/23_containers/set/58764.cc index 5c59cd57e3f..53b54d6f026 100644 --- a/libstdc++-v3/testsuite/23_containers/set/58764.cc +++ b/libstdc++-v3/testsuite/23_containers/set/58764.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/58764 diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc index f13828feffd..7472e8da946 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/copy.cc index 9a3e2de73cf..51ffad855e1 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/copy_assign.cc index 855d74fae68..01d3050b26b 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/init-list.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/init-list.cc index 34cd60047b8..ed44a99c51c 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/minimal.cc index 3937250fb83..a6ababae8ec 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/move.cc index ed14c1d5376..fecbfcb0550 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc index 91f674917d9..09c5f26f092 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/noexcept.cc index 0b851963f9c..b2e543b4356 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/swap.cc index 1bd1240d891..471f726dd24 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/cons/61023.cc b/libstdc++-v3/testsuite/23_containers/set/cons/61023.cc index 0fa52c58c29..910b3944c45 100644 --- a/libstdc++-v3/testsuite/23_containers/set/cons/61023.cc +++ b/libstdc++-v3/testsuite/23_containers/set/cons/61023.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/set/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/set/cons/moveable.cc index 3e9079e9742..4f421a2a414 100644 --- a/libstdc++-v3/testsuite/23_containers/set/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/set/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/set/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/set/cons/noexcept_move_construct.cc index effd2427d7f..7d483ddd54a 100644 --- a/libstdc++-v3/testsuite/23_containers/set/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/set/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/set/debug/60499.cc index 9971d75d96f..de7cfb6267f 100644 --- a/libstdc++-v3/testsuite/23_containers/set/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/set/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/set/debug/construct5_neg.cc index a94e370d246..0d42b9ddf44 100644 --- a/libstdc++-v3/testsuite/23_containers/set/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/set/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc index ef431239938..4ce33c74734 100644 --- a/libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/set/debug/move_assign_neg.cc index 0b47bd8594a..33ce5e726a0 100644 --- a/libstdc++-v3/testsuite/23_containers/set/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/set/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/set/debug/move_neg.cc index 7482939cd96..6d6501ce660 100644 --- a/libstdc++-v3/testsuite/23_containers/set/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/set/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/set/debug/self_move_assign_neg.cc index f6fbc2e6ec6..5d644301863 100644 --- a/libstdc++-v3/testsuite/23_containers/set/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/set/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/set/init-list.cc b/libstdc++-v3/testsuite/23_containers/set/init-list.cc index 9b222e166c1..be2df5d3b89 100644 --- a/libstdc++-v3/testsuite/23_containers/set/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/set/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/dr130.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/dr130.cc index 6d65f62ec7a..1fd6433f1a6 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/dr130.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/dr130.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-07-22 Edward Smith-Rowland <3dw4rd@verizon.net> // // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/emplace/1.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/emplace/1.cc index 37fed671dd5..6f829bdec80 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/emplace/1.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/emplace/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/51142.cc index 15bc6069752..6b25fd58914 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/abi_tag.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/abi_tag.cc index 969b92b0914..4a1c5057062 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/abi_tag.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/abi_tag.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options -std=gnu++11 } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc index 10515e64646..688b7ee7c09 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc @@ -1,6 +1,7 @@ +// { dg-do run { target c++11 } } // { dg-require-effective-target ia32 } // { dg-require-sharedlib "" } -// { dg-options "-fno-inline -std=gnu++11 ./testsuite_shared.so" } +// { dg-options "-fno-inline ./testsuite_shared.so" } // 2013-06-03 Benjamin Kosnik // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/2.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/2.cc index fd75aaba661..18274239e24 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/2.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/3.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/3.cc index 3bdd5fab886..b3c1adb0e0e 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/3.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/insert/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-11-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/set/operations/2.cc b/libstdc++-v3/testsuite/23_containers/set/operations/2.cc index 36d39a71f89..d70473b7645 100644 --- a/libstdc++-v3/testsuite/23_containers/set/operations/2.cc +++ b/libstdc++-v3/testsuite/23_containers/set/operations/2.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/set/range_access.cc b/libstdc++-v3/testsuite/23_containers/set/range_access.cc index 4ab4bec785c..1a01005191c 100644 --- a/libstdc++-v3/testsuite/23_containers/set/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/set/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/set/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/set/requirements/citerators.cc index c58c748e05b..b05448aeb1c 100644 --- a/libstdc++-v3/testsuite/23_containers/set/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/set/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/set/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/set/requirements/exception/basic.cc index f155175a11f..50e26be88d8 100644 --- a/libstdc++-v3/testsuite/23_containers/set/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/set/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // { dg-require-cstdint "" } diff --git a/libstdc++-v3/testsuite/23_containers/set/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/set/requirements/exception/generation_prohibited.cc index bd9c233c812..06926ad9591 100644 --- a/libstdc++-v3/testsuite/23_containers/set/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/set/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/set/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/set/requirements/exception/propagation_consistent.cc index 228d1054afa..b56e1bd9b70 100644 --- a/libstdc++-v3/testsuite/23_containers/set/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/set/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/1_c++0x.cc index 5f43412ad6f..d45063d6cc1 100644 --- a/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/5_c++0x.cc b/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/5_c++0x.cc index 15274031bbb..dc34a0e9461 100644 --- a/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/5_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/set/requirements/explicit_instantiation/5_c++0x.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::set, diff --git a/libstdc++-v3/testsuite/23_containers/set/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/set/requirements/typedefs.cc index 00c95d58a13..94d3908c4d6 100644 --- a/libstdc++-v3/testsuite/23_containers/set/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/set/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/stack/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/stack/requirements/explicit_instantiation/1_c++0x.cc index 0232f987422..322ad8501e3 100644 --- a/libstdc++-v3/testsuite/23_containers/stack/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/stack/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/stack/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/stack/requirements/typedefs.cc index ba987d1e967..e1dcc29d2bf 100644 --- a/libstdc++-v3/testsuite/23_containers/stack/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/stack/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/stack/requirements/uses_allocator.cc b/libstdc++-v3/testsuite/23_containers/stack/requirements/uses_allocator.cc index bdc4ac55dff..0305e99b7bf 100644 --- a/libstdc++-v3/testsuite/23_containers/stack/requirements/uses_allocator.cc +++ b/libstdc++-v3/testsuite/23_containers/stack/requirements/uses_allocator.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/55043.cc index 22eb87e1b60..8653b801e0d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/55043.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/55043.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/59548.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/59548.cc index 408ade6b73d..09c96b9cdd1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/59548.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/59548.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-require-debug-mode "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy.cc index d37c2f7d5e1..9c86f277b5c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy_assign.cc index 3bba6926cf8..1946c016f2e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/minimal.cc index b72ddac66d2..6f48873ceb1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move.cc index 7275dda9e94..215c08f4d71 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move_assign.cc index 1923acd55da..000c969970b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/noexcept.cc index 58d4824ff5d..661d808a0c5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc index bcfb502d7c4..07beef43439 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/cons/56112.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/cons/56112.cc index 9ff03cae45a..ffbfd072610 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/cons/56112.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/cons/56112.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/cons/66055.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/cons/66055.cc index 0448665267b..adde6f769ae 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/cons/66055.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/cons/66055.cc @@ -17,8 +17,7 @@ // Jonathan Wakely -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/cons/moveable.cc index 927ce313102..2b2d6fdcefd 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/60499.cc index 36a039679bd..e77cc008172 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin1_neg.cc index 08333883559..3529123744c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin2_neg.cc index d9e1e9c0012..3d3a8822d94 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/begin2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/bucket_size_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/bucket_size_neg.cc index 9417ca2c51c..efe3f41d134 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/bucket_size_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/bucket_size_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cbegin_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cbegin_neg.cc index 0d346d1967f..4da34e4ce4a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cbegin_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cbegin_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cend_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cend_neg.cc index 310bf1bb3a5..ef59af60716 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cend_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/cend_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct1_neg.cc index 3ca6b505c94..44a8ac9d4a6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct2_neg.cc index 8889ed49e95..a83ffbd790e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct3_neg.cc index 0163a769ead..d7be31fff70 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct4_neg.cc index 8de38f83563..7702294cbe8 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct5_neg.cc index 7db79b69f34..b72f49a8448 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end1_neg.cc index dc701fdfa69..0425c3c1e03 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end2_neg.cc index 4e7e63dd741..630da5118aa 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/end2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert1_neg.cc index 13d8af6b85b..b1831fc7514 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert2_neg.cc index ffea538aa47..f162cf5ac21 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert3_neg.cc index a18da1d959d..282f4681982 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert4_neg.cc index 96f8124c66f..f8097f49164 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/insert4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_compare_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_compare_neg.cc index 3c4cbf71d25..8cf90df6164 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_compare_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_compare_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_range_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_range_neg.cc index ac6e634740c..053ae09ad04 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_range_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/invalid_local_iterator_range_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc index 72aa230dcaf..916245b2bcd 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/max_load_factor_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/max_load_factor_neg.cc index 401796f0eff..e28d180b1f7 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/max_load_factor_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/max_load_factor_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_assign_neg.cc index 3b63aa3f8d5..60a821e8346 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_neg.cc index df677a35caa..1b00460328b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc index 0464f6c7bee..5e50f8e6fc5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_erased_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_erased_local_iterator_neg.cc index 106905468a8..13c8798e48e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_erased_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_erased_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_iterator_neg.cc index 141a486ad91..e092db9f26a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_local_iterator_neg.cc index 5024b6669c1..ebc33564f11 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/use_invalid_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/dr761.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/dr761.cc index e6cdf43b8ac..bc132f12abe 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/dr761.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/dr761.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-05-22 Paolo Carlini // // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/1.cc index 903f6da57b9..6d7b4200964 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/24061-map.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/24061-map.cc index fe7a7124f34..cdb99adc5be 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/24061-map.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/24061-map.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/51142.cc index 45c811bdbcb..1267e766c6a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/54276.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/54276.cc index 460b3e1c3b8..580b27704b1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/erase/54276.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/erase/54276.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/final_hash.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/final_hash.cc index 8bd4f7da7da..1e4f5904f3d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/final_hash.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/final_hash.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/hash_policy/dr1189.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/hash_policy/dr1189.cc index f9bef5c5d86..6209e19ca69 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/hash_policy/dr1189.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/hash_policy/dr1189.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-10 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/init-list.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/init-list.cc index e97c32d5da9..79105750946 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/24061-map.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/24061-map.cc index 70667165ec7..80f85821c90 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/24061-map.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/24061-map.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.C b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.C index 23407761436..8fff3d40884 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.C +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.C @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax.cc index 9e03d9bd2f1..c7c6d045a43 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax_move.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax_move.cc index 40df5c59f3e..d681a88075c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax_move.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax_move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_range.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_range.cc index 06481aa5667..d4e099eab96 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_range.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single.cc index 860cd76e180..08d4cd377fe 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-1.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-1.cc index 467c54d6018..dd0f612ce42 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-2.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-2.cc index a631ae3fcfa..4d8c36c7661 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/61667.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/61667.cc index 7856c5cbab4..db44dc04286 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/61667.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/61667.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/emplace.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/emplace.cc index f9484928931..3c22236109d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/emplace.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/emplace.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/reserve.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/reserve.cc index 816643cd0bf..71d91863722 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/reserve.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/reserve.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/observers.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/observers.cc index 0f459aef1e8..8aa0d4ddf5e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/observers.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/observers.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/operations/count.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/operations/count.cc index ea5cb4bf15a..b9805c0397b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/operations/count.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/operations/count.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-10-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/operators/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/operators/1.cc index 8f79107297b..877e88db092 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/operators/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/operators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/operators/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/operators/2.cc index 9f50ea54f48..fd95b043ce8 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/operators/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/operators/2.cc @@ -20,7 +20,7 @@ // This test verifies that the value type of a unordered_map need not be // default copyable. -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/profile/unordered.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/profile/unordered.cc index 66764f1c63b..ac87a858128 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/profile/unordered.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/profile/unordered.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } /* testing the gcc instrumented */ #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/range_access.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/range_access.cc index 19d7b1ee761..9c9e70d5dd5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/52942.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/52942.cc index 1b11cf52d43..ee97eb5ab6b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/52942.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/52942.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/53067.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/53067.cc index b76f112c415..688998bbafc 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/53067.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/53067.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/citerators.cc index 4c371caabbe..2a92b7ed77f 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/cliterators.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/cliterators.cc index 8d05c2ca83d..b41ae6dacea 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/cliterators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/cliterators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_container.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_container.cc index 73898eb64e5..7df6ec8f241 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_container.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_container.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_mode.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_mode.cc index 6affde606ac..aeddf157925 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_mode.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/debug_mode.cc @@ -1,7 +1,6 @@ // NB: This issue affected only debug-mode. -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/basic.cc index 2d210c0d728..2aee0c4ec55 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/generation_prohibited.cc index 401efc684fd..49ecd8bf261 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/propagation_consistent.cc index b4ba508d9a2..ebb6e38957b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/1.cc index 25319e09a3a..900dc208c66 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/2.cc index a5080d9bf08..1bf18971d48 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/3.cc index 22af050d5af..c003ffd746c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/4.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/4.cc index f87b130082f..f7862d6ad0d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/5.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/5.cc index ab975e1cd42..aa58e102919 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/5.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/5.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::unordered_map, std::equal_to, diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/typedefs.cc index 03e9f01331b..b39425a34c4 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/55043.cc index 196de5dbf5c..1a94022a042 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/55043.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/55043.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy.cc index 7bc37651a49..a17be439a96 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc index 439e368fa03..ea675083503 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/minimal.cc index 80811f4f7ea..ad3f752e716 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move.cc index 84c94e06685..7edec34111e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move_assign.cc index 1f70ceb93ca..4ea55b49f4a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/noexcept.cc index 1959456add6..18295ea0180 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/swap.cc index 1fa89dedcd8..1d58624d74d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/66055.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/66055.cc index 9ac80894dea..89038f4b02f 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/66055.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/66055.cc @@ -17,8 +17,7 @@ // Jonathan Wakely -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/moveable.cc index ef95522ae58..3c5c6a82183 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/60499.cc index 8dc71ea30b2..5bba00e046a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin1_neg.cc index 05e094fc3dc..761ec975309 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin2_neg.cc index d9e1e9c0012..3d3a8822d94 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/begin2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/bucket_size_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/bucket_size_neg.cc index 9417ca2c51c..efe3f41d134 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/bucket_size_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/bucket_size_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cbegin_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cbegin_neg.cc index 0d346d1967f..4da34e4ce4a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cbegin_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cbegin_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cend_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cend_neg.cc index 310bf1bb3a5..ef59af60716 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cend_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/cend_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc index e7d2a530c86..f1f1f730285 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc index 5640a06067f..52b31cc5cc0 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc index a84133d6955..a6da25341fe 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc index dcbf1ecf7b0..c6fcf4cfdc6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc index 073a89163e4..0c3c50b1d79 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end1_neg.cc index dc701fdfa69..0425c3c1e03 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end2_neg.cc index 4e7e63dd741..630da5118aa 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/end2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc index 86e54548d43..7e3e66f0440 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc index 28c38dc7e94..d00b90d0337 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc index c7d9cd466ec..ed26dfe6f83 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc index 675d765903c..36cd683206a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_compare_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_compare_neg.cc index 1609f2c5b38..39ae989961e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_compare_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_compare_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_range_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_range_neg.cc index f826b1748ea..aa6afde837a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_range_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/invalid_local_iterator_range_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc index f62ac960359..eb56977395c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/max_load_factor_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/max_load_factor_neg.cc index eb0d74958cd..eeba90938a5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/max_load_factor_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/max_load_factor_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc index ab12e14da7f..7320a90df92 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_neg.cc index a6e91caf568..5db854c1d3c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc index 2cd59fc3bd5..146ba9af7c0 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_erased_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_erased_local_iterator_neg.cc index 7d34f0b04d8..87a15bbcfd3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_erased_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_erased_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_iterator_neg.cc index baa88af81d0..65a8d0a15eb 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_local_iterator_neg.cc index bbb4c7c4438..f4b52749b22 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/use_invalid_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/1.cc index 8e9f4790542..521fbee9f46 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/2.cc index 9cff539d0af..f93138b2b36 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc index db857030470..c7f05c6225a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51142.cc index ea0c4f854b6..ba262848232 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc index 10e2638cca2..4a4fdb0beac 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2012-01-19 Jakub Jelinek // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/54276.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/54276.cc index 4ec2d85d5dd..a3492f808ff 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/54276.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/54276.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/final_hash.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/final_hash.cc index c1b5acc3054..172b04ee6a8 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/final_hash.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/final_hash.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc index 4979c68ad4f..0eb61ffa624 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-10 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/init-list.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/init-list.cc index 29a56181ee1..c1d0fee54b3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/24061-multimap.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/24061-multimap.cc index 6ebb829df4e..4134c1920be 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/24061-multimap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/24061-multimap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/51866.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/51866.cc index d916ae68a6a..ff4b8e0afc4 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/51866.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/51866.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/52476.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/52476.cc index 81de71358cf..3eefb221165 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/52476.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/52476.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/53115.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/53115.cc index f09e39eff75..b305ff23257 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/53115.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/53115.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/55028-debug.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/55028-debug.cc index e7afc8fdcae..8b5d3f50153 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/55028-debug.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/55028-debug.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.C b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.C index 781631e812d..85e8610a1be 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.C +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.C @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/hint.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/hint.cc index 15420ca5c30..b70f78800f5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/hint.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/hint.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Insert with hint, specific to this library implementation. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_range.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_range.cc index 461f680a932..2cb616f4b82 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_range.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single.cc index 8368c532287..576d8b48aee 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-1.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-1.cc index 9ea13f04113..48f23d83826 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-2.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-2.cc index 2c293ce0ff5..77b00a2d064 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/emplace.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/emplace.cc index bceb04037cf..cb4fb98a850 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/emplace.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/emplace.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/reserve.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/reserve.cc index c7438de10e6..26fdf767244 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/reserve.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/reserve.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/observers.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/observers.cc index 7146bd1dffc..93c1c8706b3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/observers.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/observers.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/operations/count.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/operations/count.cc index c9d67fb6d2b..6766e0029a6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/operations/count.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/operations/count.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-10-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/1.cc index 749f6e6c7dc..87db82de5fa 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/2.cc index b7df7be614a..ab7e699855a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/range_access.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/range_access.cc index e9481b4a7a2..8000f46716b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/citerators.cc index dcd605167b2..e31b5e02e0e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/cliterators.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/cliterators.cc index 327d527d708..7e1ac2a39d1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/cliterators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/cliterators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/debug.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/debug.cc index 020278a9fc8..c74da70329b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/debug.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/debug.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/basic.cc index ed22f089b59..83b097efc75 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/generation_prohibited.cc index 0e375522741..0e163efb251 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/propagation_consistent.cc index b4e0620edd2..8ff7286dccb 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/1.cc index 7eeeb0ae50f..5e42a277714 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/2.cc index 4ca82d43bea..e5b666d0eb5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/3.cc index c7eb171aa87..bbd8dfcca49 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/4.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/4.cc index 1efaa5ec77d..fc10959573a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/5.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/5.cc index aea66b9e19c..70f6b85dae6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/5.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/explicit_instantiation/5.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::unordered_multimap, diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/typedefs.cc index 58a6b362d36..2340c1e876a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc index 53314fcef75..d9aff3b54a5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy.cc index f63061f7d91..2933948d948 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc index 6ddfa3aa271..8f2089b71fd 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/minimal.cc index 42cd22e947b..6503469b801 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move.cc index af76d331b5c..0339a965446 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move_assign.cc index d1b18329931..f969a6ec3fb 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/noexcept.cc index 7a71b8c9fec..2291e392763 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/swap.cc index 7d7a479a838..c6f7728b354 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/66055.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/66055.cc index bd2537eac68..aa594f3c885 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/66055.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/66055.cc @@ -17,8 +17,7 @@ // Jonathan Wakely -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/copy.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/copy.cc index 154da99bdb2..cfa08c7941d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/moveable.cc index b734d8b53b4..cb9d2cf4420 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/60499.cc index 17edf9d338a..c0be76ed974 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin1_neg.cc index 78fde9a839b..61e1b2b1411 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin2_neg.cc index 9d9563c7590..e619e92d9a0 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/begin2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/bucket_size_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/bucket_size_neg.cc index e83a132ca83..f59b8b8162d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/bucket_size_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/bucket_size_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cbegin_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cbegin_neg.cc index 419c895c8fd..30f7161111a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cbegin_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cbegin_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cend_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cend_neg.cc index c005495debf..f335e0a4a60 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cend_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/cend_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc index f1f5f7e01bf..58c9e52b500 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc index 173ed8af33c..f00c3e35fe6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc index e60087734c6..df49bf7ac44 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc index 51db8ff465e..dfb20a3cd63 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc index d394fe4a0ac..5e1a4a68a45 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end1_neg.cc index d157f3c041a..c31100123b0 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end2_neg.cc index 2755a44ad3e..beeb3567f63 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/end2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc index 0a9bd5caabd..9f9437d0821 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc index 0910285f227..5c95a90f8ab 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc index b30b5e01173..970b1285aad 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc index 82beadf74ce..d52ff8fb8c6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_compare_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_compare_neg.cc index 85f8a2a63e3..eb84e0f83c5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_compare_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_compare_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_range_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_range_neg.cc index 87f0ab22028..37d7e86a0fb 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_range_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/invalid_local_iterator_range_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc index 14b0ec5366c..0255fbf3681 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/max_load_factor_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/max_load_factor_neg.cc index b6c9b4ba20e..9db1f40a601 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/max_load_factor_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/max_load_factor_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc index beca1ea62c4..410f7c1ad2a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_neg.cc index 13ab5730b7d..e0670e68f62 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc index 7012da78010..053357efbbb 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_erased_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_erased_local_iterator_neg.cc index 9e55e86a6e6..c5264e3a815 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_erased_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_erased_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_iterator_neg.cc index c9e2977d2f1..b3ba7365541 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_local_iterator_neg.cc index 883404d186a..44f236fb6cf 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/use_invalid_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/1.cc index 8731462d51a..2fefa0f4d43 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/2.cc index bf900a2edd3..625cb469383 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/24061-multiset.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/24061-multiset.cc index ed081875f90..fc0a4e58afd 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/24061-multiset.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/24061-multiset.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/51142.cc index 0af05070c33..8f97c9d7e55 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/final_hash.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/final_hash.cc index c2aeebb41e1..4d1098086f7 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/final_hash.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/final_hash.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc index 2152d8d3f3b..eb3c04ebdff 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-10 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/init-list.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/init-list.cc index 2b16b58dc08..47327a73381 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/24061-multiset.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/24061-multiset.cc index 5a3a56f709c..1aa30902d55 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/24061-multiset.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/24061-multiset.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/51866.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/51866.cc index 6cfe8973c4e..5352a0be733 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/51866.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/51866.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/52476.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/52476.cc index 5bc22f9debb..fbbf42e8104 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/52476.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/52476.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/53115.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/53115.cc index 1e7b4065352..bc44e4b5474 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/53115.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/53115.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/hash_policy.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/hash_policy.cc index 59275c37e3d..b318a9c5a30 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/hash_policy.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/hash_policy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_range.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_range.cc index ea13c029352..91ee6c49162 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_range.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single.cc index 299e49c9bcc..6e1a1c176e8 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single_move.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single_move.cc index 83f5c8d7bd8..4527987a31e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single_move.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single_move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/emplace.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/emplace.cc index 5bc07879ff9..c9091ab2c6c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/emplace.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/emplace.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/reserve.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/reserve.cc index ade705b95dd..c8b8065b6cd 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/reserve.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/reserve.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/observers.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/observers.cc index b9618407c0e..5b518b03a9b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/observers.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/observers.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/operations/count.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/operations/count.cc index e3cd8d8fac0..c7013ad2924 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/operations/count.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/operations/count.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-10-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/operators/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/operators/1.cc index 49191eb2abc..765995f040e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/operators/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/operators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/range_access.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/range_access.cc index abd0cb1466a..b10583e7f6d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/citerators.cc index ed503b9c450..5d689e423f6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/cliterators.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/cliterators.cc index d0f45b3e995..55ff4e86002 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/cliterators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/cliterators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/debug.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/debug.cc index 87b1e6c4000..85100e86ec5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/debug.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/debug.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/basic.cc index bab636bd121..56e25d640d1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/generation_prohibited.cc index f6ae42d0336..0d77cd30f3c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/propagation_consistent.cc index 9942ff38299..c8cecd999a3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/1.cc index 6726546f05c..370724775b5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/2.cc index b37b7689aef..64aa5dbc068 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/3.cc index d4483efba71..be61cee53bf 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/4.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/4.cc index 17703bdcd1c..6be5772aca1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/5.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/5.cc index 1de08908e2c..9be48fee562 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/5.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/5.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::unordered_multiset, std::equal_to, diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/typedefs.cc index 7d646faa6d7..207d4c91143 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc index 90614f468cb..b952fc280ca 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/56267-2.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/56267-2.cc index 827cb202baa..c935445200e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/56267-2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/56267-2.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/56267.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/56267.cc index 46b164da286..5480b40ddcd 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/56267.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/56267.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/56278.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/56278.cc index 3ec8df184b4..e8a7cb39854 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/56278.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/56278.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/61143.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/61143.cc index d070e251504..79100814a0f 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/61143.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/61143.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/63456.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/63456.cc index ea509936e24..cdda9717e9c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/63456.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/63456.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy.cc index 7f2b4995d36..99629080a47 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy_assign.cc index 38f1fc814b8..601e4a62c72 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc index 31e8712c022..e1f0746e31a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/minimal.cc index e831495c325..a3b8b41fb27 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move.cc index f915e79bcfc..8b96330ed48 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc index 2bcf465543c..c15abfbc2e1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/noexcept.cc index 7724d7239e6..f3c85ebcca1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/swap.cc index 8f14f3e323f..b7996c6f252 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc index 30c6661ddf0..68e314b8f0b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/66055.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/66055.cc index a5255e3e1aa..356c78dd335 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/66055.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/66055.cc @@ -17,8 +17,7 @@ // Jonathan Wakely -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/moveable.cc index acf0a385b0a..f01328cb3c0 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/60499.cc index 182a6fb183a..82cda7ff430 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin1_neg.cc index 9e9f9fa0cfd..d30e9c2244e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin2_neg.cc index 7f09db909fd..c308f9b1f96 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/begin2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/bucket_size_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/bucket_size_neg.cc index 0e31b74e89a..faaeffc8874 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/bucket_size_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/bucket_size_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cbegin_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cbegin_neg.cc index 725f51a241a..d71399a3206 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cbegin_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cbegin_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cend_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cend_neg.cc index fbda4d5efec..b1f22a95c7d 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cend_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/cend_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct1_neg.cc index 309f988983b..6df1e2fa4c1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct2_neg.cc index 78960d71dd1..14582ff206e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct3_neg.cc index 7b51a6fb2b4..6c025789c00 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct4_neg.cc index 278c07f00a2..ceefaa0b619 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct5_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct5_neg.cc index 0cf0d2f5853..4c95ae3a3b9 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct5_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct5_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/debug_functions.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/debug_functions.cc index d9e5801eb64..6a45c437bc1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/debug_functions.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/debug_functions.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-debug-mode "" } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end1_neg.cc index 1b613214eda..b4e0f471f3a 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end2_neg.cc index 34b841f0e07..20c8f5aa909 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/end2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert1_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert1_neg.cc index 0e0c705424f..07de84c56b0 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert1_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert1_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert2_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert2_neg.cc index e859420373b..2b61e9f539c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert2_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert2_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert3_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert3_neg.cc index b4587736d94..f51d2305235 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert3_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert3_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert4_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert4_neg.cc index 314cd139113..bdd3c1909b6 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert4_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/insert4_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_compare_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_compare_neg.cc index aa31dbf84b1..efef04a09a3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_compare_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_compare_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_range_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_range_neg.cc index 3fdda7b3afe..8f66931e720 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_range_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/invalid_local_iterator_range_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc index 1678c7937ce..70a3e26fa29 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/max_load_factor_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/max_load_factor_neg.cc index 01c1188a007..22e3ffcc160 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/max_load_factor_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/max_load_factor_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_assign_neg.cc index e3f64d801c4..6ed3adb095e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_neg.cc index 203684d1684..6b3fd6da399 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc index 67a54a72655..2f973a650d3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_erased_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_erased_local_iterator_neg.cc index 14a0f51ade0..3a70fe6aea3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_erased_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_erased_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_iterator_neg.cc index d84d41f067f..bf784d135a3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_local_iterator_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_local_iterator_neg.cc index f317a8e0c7a..212e9087d31 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_local_iterator_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/use_invalid_local_iterator_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/erase/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/erase/1.cc index 9dc3a694f17..3a25de721d1 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/erase/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/erase/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/erase/24061-set.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/erase/24061-set.cc index 81e20bde0b9..33f21880aa3 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/erase/24061-set.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/erase/24061-set.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/erase/51142.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/erase/51142.cc index f36c05fe9ae..9f4b8a9f01e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/erase/51142.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/erase/51142.cc @@ -16,8 +16,7 @@ // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/final_hash.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/final_hash.cc index 0fec522e8f6..da4e864c6f7 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/final_hash.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/final_hash.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/26132.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/26132.cc index 5c01fa72a89..e743fbaaab7 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/26132.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/26132.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-08-13 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/71181.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/71181.cc index a8bbfc736d9..331c71359a5 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/71181.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/71181.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/dr1189.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/dr1189.cc index 12ea8b9f03d..2f320b8e87b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/dr1189.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/dr1189.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-10 Paolo Carlini // // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/load_factor.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/load_factor.cc index 0c3b7f84167..b6e66ec7225 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/load_factor.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/load_factor.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc index 5805f7aafc6..c388b701295 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc index 403382349fa..e5e15315cdb 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/rehash.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/rehash.cc index 96581317446..f1b5920148c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/rehash.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/rehash.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/init-list.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/init-list.cc index beb48b63429..2e9cc09e8cf 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/24061-set.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/24061-set.cc index dc53323a4a7..497cf4ce1c8 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/24061-set.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/24061-set.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-10 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/hash_policy.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/hash_policy.cc index 7dcaf3958c0..694e6a6c93e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/hash_policy.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/hash_policy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/move_range.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/move_range.cc index 832a108552f..caed770cd64 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/move_range.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/move_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_range.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_range.cc index b9089ca6f08..3ef16fc1862 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_range.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single.cc index 841ac5a90ed..9d3758ac133 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single_move.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single_move.cc index f5ff2b10b81..470050e1563 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single_move.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single_move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-10-27 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc index bb4e8fe3f65..cc572fc90ca 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-normal-mode "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/max_load_factor/robustness.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/max_load_factor/robustness.cc index b95c86f4af4..45611e41e56 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/max_load_factor/robustness.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/max_load_factor/robustness.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/emplace.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/emplace.cc index 3d7632672ba..8fbbb1bfea9 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/emplace.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/emplace.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/reserve.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/reserve.cc index 7f1b80354c8..ae4333fd443 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/reserve.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/reserve.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/swap.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/swap.cc index 23d6d2c88d9..d205d683997 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/observers.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/observers.cc index 3dcfbdc5f84..4c69466995f 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/observers.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/observers.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/operations/count.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/operations/count.cc index 1035ebfda57..1fb685c0f68 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/operations/count.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/operations/count.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-10-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/operators/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/operators/1.cc index 0a1f49bdf8e..1cfb3b7fc5b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/operators/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/operators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-03-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/operators/52309.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/operators/52309.cc index 1cee2538997..836fc9fdabe 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/operators/52309.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/operators/52309.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/range_access.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/range_access.cc index 8f78a558314..a1cd9cbe99c 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/52942.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/52942.cc index 5fdb4b2200a..de56e0ff16f 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/52942.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/52942.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/53067.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/53067.cc index ccaf5bb5bf8..663846a4e4b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/53067.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/53067.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/citerators.cc index 4089d0dce2e..c6b46ed1c3b 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/cliterators.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/cliterators.cc index 7b56c4b98fa..4aa6ef418b9 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/cliterators.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/cliterators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-06-11 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_container.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_container.cc index 19632196892..50a73c1c16f 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_container.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_container.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_mode.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_mode.cc index 544281e69d6..091717c6758 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_mode.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/debug_mode.cc @@ -1,7 +1,6 @@ // NB: This issue affected only debug-mode. -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/basic.cc index 61848d1508c..fce2f4fe210 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/generation_prohibited.cc index 1d4a37253c5..8b30f59c8a2 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/propagation_consistent.cc index 252221628bf..e52f254dd99 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/1.cc index 8eb68762f49..a652b801a88 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/2.cc index 266c15cc5a0..41d94eb19bd 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/3.cc index f81c9d64b9d..7628abd3032 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/4.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/4.cc index 2aee3e23c30..7878223b518 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2010-05-20 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/5.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/5.cc index 76967cbaf48..2095ca94427 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/5.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/explicit_instantiation/5.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // @@ -22,7 +21,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++11 } } // libstdc++/50118 template class std::unordered_set, std::equal_to, diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/typedefs.cc index 16aea18b6dc..de075cd98fb 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/52591.cc b/libstdc++-v3/testsuite/23_containers/vector/52591.cc index 667696585e6..6820967c4ea 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/52591.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/52591.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/52591 diff --git a/libstdc++-v3/testsuite/23_containers/vector/58764.cc b/libstdc++-v3/testsuite/23_containers/vector/58764.cc index b136ca68d2b..ec241100509 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/58764.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/58764.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // libstdc++/58764 diff --git a/libstdc++-v3/testsuite/23_containers/vector/59829.cc b/libstdc++-v3/testsuite/23_containers/vector/59829.cc index 525ab8b1c42..72329812a7a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/59829.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/59829.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // libstdc++/59829 diff --git a/libstdc++-v3/testsuite/23_containers/vector/63500.cc b/libstdc++-v3/testsuite/23_containers/vector/63500.cc index aac02dbf106..0acde16e1bd 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/63500.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/63500.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/construction.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/construction.cc index 8040949c04c..82d642cd191 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/construction.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/construction.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/copy.cc index 8e38139e7ca..2a96196f5ab 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/copy_assign.cc index 6c9542a875a..6e10c19896c 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/ext_ptr.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/ext_ptr.cc index 7e0f03f6adb..c7740749044 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/ext_ptr.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/ext_ptr.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/minimal.cc index 680014c0527..16310dd5294 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/minimal.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/move.cc index c2246b27bd9..c9cf806972f 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc index ba6e790cd8d..84438576510 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/noexcept.cc index 8461853aa89..0d42dbc8221 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/vector/allocator/swap.cc index 3cb3dd671dc..57bbdda46eb 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy.cc index d05573144cf..c961f0cd048 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy_assign.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy_assign.cc index aa0adc06076..1809a1531bb 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/ext_ptr.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/ext_ptr.cc index fdb85e57e40..940a3b7ab7b 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/ext_ptr.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/ext_ptr.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/minimal.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/minimal.cc index 773d5707259..a0669698331 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/minimal.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/minimal.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move.cc index 2b17fb8d412..177d968798e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move_assign.cc index ad9d950a6dc..705e151fb72 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move_assign.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/noexcept.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/noexcept.cc index a61b44d5ae6..74889508bfc 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/noexcept.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/noexcept.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/swap.cc index 06ce76fe1d7..0840c0b156f 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/swap.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc index a7f08bd48f9..62f97915c48 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/cons/noexcept_move_construct.cc index 76cc388a430..29e72e81af9 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/emplace.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/emplace.cc index 55187b4682e..f1240961188 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/emplace.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/emplace.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/hash/1.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/hash/1.cc index 2f2f540e3f3..db03ba5b64a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/hash/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/hash/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/erase/54577.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/erase/54577.cc index 1e70a9ade31..ce0486e8048 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/erase/54577.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/erase/54577.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/const_iterator.cc index 05fc0fa33fc..025a610477f 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/requirements/citerators.cc index 1e008ea782b..f2c058dce63 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/swap.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/swap.cc index 3439318e4a1..852c80e9edf 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable.cc index a2906a98436..7b39b535cd6 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable2.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable2.cc index 7903e164832..cd18303cd71 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-06-07 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable.cc index 327c884837b..8a6a81c734f 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable2.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable2.cc index 65f4906a18c..04b90aa7b90 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-06-07 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/resize_size.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/resize_size.cc index 0e9c31fda30..ac998c09509 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/resize_size.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/resize/resize_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit.cc index 4ab1e889fae..4c60032c6e9 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-01-08 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit2.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit2.cc index 5cbcae7d143..c5d4c01bef6 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/55977.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/55977.cc index de315e0f58d..10ab52980a9 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/55977.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/55977.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/cons_size.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/cons_size.cc index d0fe9fdfa56..97e385ab027 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/cons_size.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/cons_size.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-06-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/moveable.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/moveable.cc index e84b42758e0..b53aca1708b 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/moveable2.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/moveable2.cc index dd23b8a197b..9744cab97ff 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/moveable2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/moveable2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/noexcept_move_construct.cc index 66a822fdd32..696d28ff77a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/52433.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/52433.cc index 7c050e75682..462ad0e1a8a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/52433.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/52433.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/52433 diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/60499.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/60499.cc index 7da73f65482..ab8e7f65a2e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/60499.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/60499.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60499 diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/alloc_prop.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/alloc_prop.cc index 733557fb77c..89a82bc93e7 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/alloc_prop.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/alloc_prop.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc index aadc0e32d7e..195dbce98ee 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/insert7_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/insert7_neg.cc index 6e5d35cf31b..01e70a3cc1f 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/insert7_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/insert7_neg.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc index de19a6836b7..bc293b2624c 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc index 4764528c400..775b5621f15 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/move_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/move_neg.cc index 4a2d040fb73..fe9c4b8aa50 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/move_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/move_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/self_move_assign_neg.cc index 0b12b93e30b..b843ed5077e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/self_move_assign_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/self_move_assign_neg.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/shrink_to_fit.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/shrink_to_fit.cc index ef85019f752..d41145e9203 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/shrink_to_fit.cc @@ -16,8 +16,7 @@ // . // // { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } -// { dg-do run { xfail *-*-* } } +// { dg-do run { target c++11 xfail *-*-* } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/citerators.cc b/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/citerators.cc index 42b90398d31..208043404d4 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/explicit_instantiation/2.cc index b5a08f5b431..4c560f0db83 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/explicit_instantiation/2.cc @@ -21,7 +21,6 @@ #include #include -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } template class std::vector >; diff --git a/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/types/2.cc b/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/types/2.cc index ac3d390a2e2..964d5d00195 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/types/2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/ext_pointer/types/2.cc @@ -18,7 +18,7 @@ // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // This is a copy of vector/types/1.cc with altered allocator. // The operator+()s in this test initially failed the test - diff --git a/libstdc++-v3/testsuite/23_containers/vector/init-list.cc b/libstdc++-v3/testsuite/23_containers/vector/init-list.cc index 7556d93e032..19cce338b5d 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/init-list.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/52799.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/52799.cc index c1fb74ce6bd..1b8928af2b9 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/52799.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/52799.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc index 54f6bc729a9..5426b77fd29 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/self_emplace.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/self_emplace.cc index 8712216cc3d..4f7455e7ee5 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/self_emplace.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/self_emplace.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/50529.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/50529.cc index 27e5d384aac..224da1e7d1e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/50529.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/50529.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-09-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/54577.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/54577.cc index cdd9c068462..970b7ff3351 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/54577.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/54577.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/moveable.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/moveable.cc index 6a06c1ade2c..33e360708ee 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/58148.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/58148.cc index 81cdbc18bb4..2e0bdea7a0c 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/58148.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/58148.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/aliasing.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/aliasing.cc index 2ef13b47ec4..90985b6c398 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/aliasing.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/aliasing.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/const_iterator.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/const_iterator.cc index 2ddb092586b..077c62bc1e4 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/const_iterator.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/self_insert.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/self_insert.cc index 9944cbbfbb7..08e01e777bd 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/self_insert.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/self_insert.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc index 39a3f031b46..187e433d9d3 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // The class X and test code is by by Howard Hinnant and used under a // Creative Commons Attribution 4.0 International License. diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable.cc index 270f70c49c7..1d79b3e2fec 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable2.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable2.cc index 9fed8fb9c60..12ae0dbe614 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-06-07 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/49836.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/49836.cc index e2b8609503d..b80e6791753 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/49836.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/49836.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/strong_guarantee.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/strong_guarantee.cc index b7c1a068141..f916656ce05 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/strong_guarantee.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/strong_guarantee.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/range_access.cc b/libstdc++-v3/testsuite/23_containers/vector/range_access.cc index d25251aa580..91f3ccbad24 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/range_access.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/requirements/citerators.cc b/libstdc++-v3/testsuite/23_containers/vector/requirements/citerators.cc index bd0069bc88a..7ba6fea1acc 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/23_containers/vector/requirements/do_the_right_thing.cc b/libstdc++-v3/testsuite/23_containers/vector/requirements/do_the_right_thing.cc index e02f5f5f1c7..76a4360b93a 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/requirements/do_the_right_thing.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/requirements/do_the_right_thing.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/basic.cc b/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/basic.cc index a996b7d685d..e2489e35828 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-30 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/generation_prohibited.cc index 6c7b51170e0..0de4020cc3e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/propagation_consistent.cc index e4fb41cf257..eec74f794b3 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-09 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/23_containers/vector/requirements/explicit_instantiation/1_c++0x.cc b/libstdc++-v3/testsuite/23_containers/vector/requirements/explicit_instantiation/1_c++0x.cc index a4df6f25173..cde627bdcac 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/requirements/explicit_instantiation/1_c++0x.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/requirements/explicit_instantiation/1_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/vector/requirements/typedefs.cc b/libstdc++-v3/testsuite/23_containers/vector/requirements/typedefs.cc index 0b725ac4d2b..fd336041c22 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/istream_iterator/70766.cc b/libstdc++-v3/testsuite/24_iterators/istream_iterator/70766.cc index 3018e346477..747de95d9ab 100644 --- a/libstdc++-v3/testsuite/24_iterators/istream_iterator/70766.cc +++ b/libstdc++-v3/testsuite/24_iterators/istream_iterator/70766.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/24_iterators/istream_iterator/cons/constexpr.cc b/libstdc++-v3/testsuite/24_iterators/istream_iterator/cons/constexpr.cc index 50cbff95294..6683b7f9109 100644 --- a/libstdc++-v3/testsuite/24_iterators/istream_iterator/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/24_iterators/istream_iterator/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc index 9afe0b3e019..60f15d05d56 100644 --- a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/requirements/dr445.cc b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/requirements/dr445.cc index 1e6a5a0bffa..fc93ca74fa7 100644 --- a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/requirements/dr445.cc +++ b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/requirements/dr445.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. // diff --git a/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2061.cc b/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2061.cc index 26ac9455833..64ed47813c0 100644 --- a/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2061.cc +++ b/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2061.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. // diff --git a/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2106.cc b/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2106.cc index 435a801f2f1..740ca4083d8 100644 --- a/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2106.cc +++ b/libstdc++-v3/testsuite/24_iterators/move_iterator/dr2106.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/move_iterator/greedy_ops.cc b/libstdc++-v3/testsuite/24_iterators/move_iterator/greedy_ops.cc index e546e19ab82..c99df682947 100644 --- a/libstdc++-v3/testsuite/24_iterators/move_iterator/greedy_ops.cc +++ b/libstdc++-v3/testsuite/24_iterators/move_iterator/greedy_ops.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/24_iterators/normal_iterator/58403.cc b/libstdc++-v3/testsuite/24_iterators/normal_iterator/58403.cc index 1fc64203ecd..8092921e9f8 100644 --- a/libstdc++-v3/testsuite/24_iterators/normal_iterator/58403.cc +++ b/libstdc++-v3/testsuite/24_iterators/normal_iterator/58403.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/operations/40497.cc b/libstdc++-v3/testsuite/24_iterators/operations/40497.cc index 82d2a4a39da..0c4a81161de 100644 --- a/libstdc++-v3/testsuite/24_iterators/operations/40497.cc +++ b/libstdc++-v3/testsuite/24_iterators/operations/40497.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/operations/next.cc b/libstdc++-v3/testsuite/24_iterators/operations/next.cc index 05d8e20a7c4..8e48eda0ef9 100644 --- a/libstdc++-v3/testsuite/24_iterators/operations/next.cc +++ b/libstdc++-v3/testsuite/24_iterators/operations/next.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/operations/next_neg.cc b/libstdc++-v3/testsuite/24_iterators/operations/next_neg.cc index 4d58f431d9d..8842ed07021 100644 --- a/libstdc++-v3/testsuite/24_iterators/operations/next_neg.cc +++ b/libstdc++-v3/testsuite/24_iterators/operations/next_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_CONCEPT_CHECKS" } -// { dg-do compile } +// { dg-options "-D_GLIBCXX_CONCEPT_CHECKS" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/24_iterators/operations/prev.cc b/libstdc++-v3/testsuite/24_iterators/operations/prev.cc index 27d9c68e7b8..afffe176a15 100644 --- a/libstdc++-v3/testsuite/24_iterators/operations/prev.cc +++ b/libstdc++-v3/testsuite/24_iterators/operations/prev.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/operations/prev_neg.cc b/libstdc++-v3/testsuite/24_iterators/operations/prev_neg.cc index d73d8635ce5..c1333ddadcf 100644 --- a/libstdc++-v3/testsuite/24_iterators/operations/prev_neg.cc +++ b/libstdc++-v3/testsuite/24_iterators/operations/prev_neg.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_CONCEPT_CHECKS" } -// { dg-do compile } +// { dg-options "-D_GLIBCXX_CONCEPT_CHECKS" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/24_iterators/ostream_iterator/70766.cc b/libstdc++-v3/testsuite/24_iterators/ostream_iterator/70766.cc index 1f6b94358be..8021e7b1ba3 100644 --- a/libstdc++-v3/testsuite/24_iterators/ostream_iterator/70766.cc +++ b/libstdc++-v3/testsuite/24_iterators/ostream_iterator/70766.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/24_iterators/range_access.cc b/libstdc++-v3/testsuite/24_iterators/range_access.cc index 84fe9e5e599..3c70442b288 100644 --- a/libstdc++-v3/testsuite/24_iterators/range_access.cc +++ b/libstdc++-v3/testsuite/24_iterators/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/range_access_cpp14.cc b/libstdc++-v3/testsuite/24_iterators/range_access_cpp14.cc index 79fb0f4b768..eca3d4339bc 100644 --- a/libstdc++-v3/testsuite/24_iterators/range_access_cpp14.cc +++ b/libstdc++-v3/testsuite/24_iterators/range_access_cpp14.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/24_iterators/reverse_iterator/make.cc b/libstdc++-v3/testsuite/24_iterators/reverse_iterator/make.cc index b1ff76c5987..a923a37eb8e 100644 --- a/libstdc++-v3/testsuite/24_iterators/reverse_iterator/make.cc +++ b/libstdc++-v3/testsuite/24_iterators/reverse_iterator/make.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/all_of/1.cc b/libstdc++-v3/testsuite/25_algorithms/all_of/1.cc index 69c7fe8bf8e..ae95502bb95 100644 --- a/libstdc++-v3/testsuite/25_algorithms/all_of/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/all_of/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/all_of/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/all_of/check_type.cc index b267d4920df..5379db23ba3 100644 --- a/libstdc++-v3/testsuite/25_algorithms/all_of/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/all_of/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/2.cc index 165752ca13b..0a005092943 100644 --- a/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/pod.cc index 1f673c0f9cb..ee71b1e72c7 100644 --- a/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/all_of/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/any_of/1.cc b/libstdc++-v3/testsuite/25_algorithms/any_of/1.cc index 9975b952f33..97ca9bcaa20 100644 --- a/libstdc++-v3/testsuite/25_algorithms/any_of/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/any_of/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/any_of/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/any_of/check_type.cc index 32a86fb618c..ace0821891d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/any_of/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/any_of/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/2.cc index ce1e221797a..3e7dfee4ad4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/pod.cc index ccff9326213..913e2f3af0b 100644 --- a/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/any_of/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/binary_search/partitioned.cc b/libstdc++-v3/testsuite/25_algorithms/binary_search/partitioned.cc index 63a6cada97e..dbed055bb62 100644 --- a/libstdc++-v3/testsuite/25_algorithms/binary_search/partitioned.cc +++ b/libstdc++-v3/testsuite/25_algorithms/binary_search/partitioned.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG" } +// { dg-options "-D_GLIBCXX_DEBUG" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/58982.cc b/libstdc++-v3/testsuite/25_algorithms/copy/58982.cc index faff13cf967..9cebbc6a3cd 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/58982.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/58982.cc @@ -17,8 +17,7 @@ // 25.3.1 copy -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/1.cc b/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/1.cc index 2596497c417..f8b3096ab5c 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/69478.cc b/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/69478.cc index 707b273c83e..faec8262a79 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/69478.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/69478.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/1.cc b/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/1.cc index 8a1117e736d..b87269fb744 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/69478.cc b/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/69478.cc index e00d146996f..b9d82af9285 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/69478.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/69478.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_if/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/copy_if/check_type.cc index 4cf1420eb09..647a287d986 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_if/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_if/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/2.cc index 4004109cb55..84c7a5fca11 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-24 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/pod.cc index 2d694437071..00b521e9aa4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-24 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/1.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/1.cc index 7acb2cfb9df..bd613d515b3 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/2.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/2.cc index be9d2b672ab..9a7250de21a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/3.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/3.cc index dd298487f65..d20588884ea 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc index 981aaee5b0c..ee08ed2dc04 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/50119.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/50119.cc index 08a54f7d5d8..07148e66ff1 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/50119.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/50119.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/58982.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/58982.cc index 3a1d3f73450..a58026f87d6 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/58982.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/58982.cc @@ -17,8 +17,7 @@ // 25.3.1 copy -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/move_iterators/1.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/move_iterators/1.cc index a54b3832f16..8ac42cc14fd 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/move_iterators/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/move_iterators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/2.cc index 79f0a7f5fb6..9a1481cbae6 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/pod.cc index 180f04c41ca..190011ebb70 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-24 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/equal/2.cc b/libstdc++-v3/testsuite/25_algorithms/equal/2.cc index 74ec933414d..657736aac8e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/equal/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/equal/2.cc @@ -17,7 +17,7 @@ // 25.2.11 [alg.equal] -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/equal/check_type2.cc b/libstdc++-v3/testsuite/25_algorithms/equal/check_type2.cc index 8346a52c7b1..2f943e22537 100644 --- a/libstdc++-v3/testsuite/25_algorithms/equal/check_type2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/equal/check_type2.cc @@ -17,8 +17,7 @@ // 25.2.11 [alg.equal] -// { dg-do compile } -// { dg-options " -std=gnu++14 " } +// { dg-do compile { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/equal_range/partitioned.cc b/libstdc++-v3/testsuite/25_algorithms/equal_range/partitioned.cc index d3a43d06a58..5c23a344885 100644 --- a/libstdc++-v3/testsuite/25_algorithms/equal_range/partitioned.cc +++ b/libstdc++-v3/testsuite/25_algorithms/equal_range/partitioned.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG" } +// { dg-options "-D_GLIBCXX_DEBUG" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/find_if_not/1.cc b/libstdc++-v3/testsuite/25_algorithms/find_if_not/1.cc index 3139ddbe5fb..2f38bb5f7d3 100644 --- a/libstdc++-v3/testsuite/25_algorithms/find_if_not/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/find_if_not/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/find_if_not/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/find_if_not/check_type.cc index 2b5ba858369..8ed55457c69 100644 --- a/libstdc++-v3/testsuite/25_algorithms/find_if_not/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/find_if_not/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/2.cc index 8c6c17de1f1..a7c3d32c535 100644 --- a/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/pod.cc index 6c9f890cad5..0d5ca841e09 100644 --- a/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/find_if_not/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/find_if_not/vectorbool.cc b/libstdc++-v3/testsuite/25_algorithms/find_if_not/vectorbool.cc index 422830dd2bc..67c38a0dae8 100644 --- a/libstdc++-v3/testsuite/25_algorithms/find_if_not/vectorbool.cc +++ b/libstdc++-v3/testsuite/25_algorithms/find_if_not/vectorbool.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/for_each/1.cc b/libstdc++-v3/testsuite/25_algorithms/for_each/1.cc index f6e5834ed4c..7d65ed1d160 100644 --- a/libstdc++-v3/testsuite/25_algorithms/for_each/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/for_each/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-02-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/inplace_merge/49559.cc b/libstdc++-v3/testsuite/25_algorithms/inplace_merge/49559.cc index 35280554fb4..4803b7f0780 100644 --- a/libstdc++-v3/testsuite/25_algorithms/inplace_merge/49559.cc +++ b/libstdc++-v3/testsuite/25_algorithms/inplace_merge/49559.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable.cc index 1bcbbc746b1..9560afdee2e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable2.cc b/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable2.cc index 11e3a64a432..504f8b168a0 100644 --- a/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/inplace_merge/moveable2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap/1.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap/1.cc index 74a50eb9e10..f46495a0fb4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_heap/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_heap/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-12 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/2.cc index 73752fea9be..eba41d0043a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-12 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/pod.cc index b4dff18a351..e39b13b99e9 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_heap/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-12 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/1.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/1.cc index c0027bd5e66..b2f2074e30e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-12 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/2.cc index a2f3d17b55e..e910686826f 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-12 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/pod.cc index 94dece99d0d..b83887ff6d4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_heap_until/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-12 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/1.cc b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/1.cc index 67a46eadcb8..4b1a1b77155 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/check_type.cc index 62cff8d7cb0..77ac646def0 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/2.cc index 32f5efebb70..0ad11e4ab56 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/pod.cc index 9239b7b987f..ebcf2fc04fe 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_partitioned/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/1.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/1.cc index 394f3aa08be..3fb98d6f5b6 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-01-13 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc index a4327c4c411..1761becb15d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/64646.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/64646.cc index 7f3ae66834e..61480478f8d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/64646.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/64646.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type.cc index 206bcf558bd..66d710ed953 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // 2011-01-13 Paolo Carlini // @@ -21,7 +20,7 @@ // 25.2.12 [alg.is_permutation] Is permutation -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type2.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type2.cc index a03f7f4aca5..dbdcfcebd2e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/check_type2.cc @@ -17,8 +17,7 @@ // 25.2.12 [alg.is_permutation] Is permutation -// { dg-do compile } -// { dg-options " -std=gnu++14 " } +// { dg-do compile { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/2.cc index fe0c59ec9a6..7a9222c28e6 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-01-13 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/pod.cc index be07b2392e1..77d932436bd 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2011-01-13 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/vectorbool.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/vectorbool.cc index 2990a1c07b4..bb92cf628a5 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/vectorbool.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/vectorbool.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted/1.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted/1.cc index 54b30b49589..51166b34a5b 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_sorted/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-14 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/2.cc index f4f92beacc4..342f1ff44b3 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-14 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/pod.cc index 1b0136b853c..aa633a72933 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-14 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/1.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/1.cc index 817cca3639c..2befae6a975 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-14 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/2.cc index b96db490684..83c002fa062 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-14 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/pod.cc index 92a1a4262a0..9f5088d51a5 100644 --- a/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/is_sorted_until/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-14 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/71545.cc b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/71545.cc index 6c9cd12cfef..b20a3cdee6d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/71545.cc +++ b/libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/71545.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG" } -// { dg-do link } +// { dg-options "-D_GLIBCXX_DEBUG" } +// { dg-do link { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound/partitioned.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound/partitioned.cc index bba0b66ea80..8d8bb725929 100644 --- a/libstdc++-v3/testsuite/25_algorithms/lower_bound/partitioned.cc +++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound/partitioned.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG" } +// { dg-options "-D_GLIBCXX_DEBUG" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc index 23af4301840..2907105b8c2 100644 --- a/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/max/3.cc b/libstdc++-v3/testsuite/25_algorithms/max/3.cc index 03dc17a5bd0..0e9bc584568 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/max/37547.cc b/libstdc++-v3/testsuite/25_algorithms/max/37547.cc index c93f158a0b3..e54ac59c544 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max/37547.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max/37547.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/max/4.cc b/libstdc++-v3/testsuite/25_algorithms/max/4.cc index 43146dee659..204ee0649b4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max/4.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/max/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/max/constexpr.cc index 9440c8cd467..fcf5aa27b22 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max/constexpr.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc index 6308e9b2cc5..e50c9ea6378 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-09-16 Chris Fairles diff --git a/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/pod2.cc b/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/pod2.cc index 0d88d27982c..e695412403e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/pod2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max/requirements/explicit_instantiation/pod2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-09-16 Chris Fairles diff --git a/libstdc++-v3/testsuite/25_algorithms/max_element/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/max_element/constexpr.cc index d98c54b893a..cc2fc5cc103 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max_element/constexpr.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max_element/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/min/3.cc b/libstdc++-v3/testsuite/25_algorithms/min/3.cc index 7c44d45e731..627c5a16ee9 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/min/37547.cc b/libstdc++-v3/testsuite/25_algorithms/min/37547.cc index 7bb32529bfb..a9434ba416d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min/37547.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min/37547.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/min/4.cc b/libstdc++-v3/testsuite/25_algorithms/min/4.cc index 0473b5c8075..0967489859a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min/4.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/min/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/min/constexpr.cc index fd7d5b2d102..e18a6a9eb6e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min/constexpr.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc index d23dfc93022..1d5e4ca8761 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-09-16 Chris Fairles diff --git a/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/pod2.cc b/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/pod2.cc index 0f226cfc351..3f9170a1aca 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/pod2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min/requirements/explicit_instantiation/pod2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-09-16 Chris Fairles diff --git a/libstdc++-v3/testsuite/25_algorithms/min_element/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/min_element/constexpr.cc index 93bf61cce93..dca1a3ce467 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min_element/constexpr.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min_element/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/1.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/1.cc index 94dac4040cc..82aa3abbb65 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-11-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc index 24a26754ef2..3d03fbace0d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-09-16 Chris Fairles diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc index 9ae5d11f6da..506192c9757 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/constexpr.cc index 319612b84e2..4bd41f5a47f 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/constexpr.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/2.cc index 5347be23793..f64c148640d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-11-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/3.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/3.cc index bf4b348b5ac..cd25c5948d8 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-09-16 Chris Fairles diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod.cc index badbaa051d0..bb471e3755f 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-11-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod2.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod2.cc index 302fc506342..ed541f6c995 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/requirements/explicit_instantiation/pod2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-09-16 Chris Fairles diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax_element/1.cc b/libstdc++-v3/testsuite/25_algorithms/minmax_element/1.cc index f875d818fdf..437523d2dcf 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax_element/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax_element/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax_element/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/minmax_element/check_type.cc index d596bd8fab6..7a7f93b71ba 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax_element/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax_element/check_type.cc @@ -1,4 +1,3 @@ -// { dg-options "-std=gnu++11" } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // @@ -17,7 +16,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax_element/constexpr.cc b/libstdc++-v3/testsuite/25_algorithms/minmax_element/constexpr.cc index 8fddb607432..4e0acfce97a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax_element/constexpr.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax_element/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/2.cc index a3e80a11ce8..056a22b386f 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-11-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/pod.cc index cd9c768953b..d98ca098b57 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax_element/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-11-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/mismatch/2.cc b/libstdc++-v3/testsuite/25_algorithms/mismatch/2.cc index e737b6deb6e..e4c83d08d6e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/mismatch/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/mismatch/2.cc @@ -17,7 +17,7 @@ // 25.2.10 [mismatch] -// { dg-options " -std=gnu++14 " } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/mismatch/check_type2.cc b/libstdc++-v3/testsuite/25_algorithms/mismatch/check_type2.cc index af1a812b6bb..d60e04fe5e7 100644 --- a/libstdc++-v3/testsuite/25_algorithms/mismatch/check_type2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/mismatch/check_type2.cc @@ -17,8 +17,7 @@ // 25.2.10 [mismatch] -// { dg-options " -std=gnu++14 " } -// { dg-do compile } +// { dg-do compile { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/move/1.cc b/libstdc++-v3/testsuite/25_algorithms/move/1.cc index 9655306e25e..bc0bc429579 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/move/69478.cc b/libstdc++-v3/testsuite/25_algorithms/move/69478.cc index 791e0bfcff6..8bc6c874565 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move/69478.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move/69478.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/move/deque_iterators/1.cc b/libstdc++-v3/testsuite/25_algorithms/move/deque_iterators/1.cc index 2ea290bc7f3..8cc4c9afac7 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move/deque_iterators/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move/deque_iterators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2009-12-23 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/2.cc index 40a99e8a124..b5293a3b746 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/pod.cc index c4cbd5b998d..d21e524bfbc 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/move_backward/1.cc b/libstdc++-v3/testsuite/25_algorithms/move_backward/1.cc index 91a2860ace0..0fb79a848d2 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move_backward/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move_backward/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/move_backward/69478.cc b/libstdc++-v3/testsuite/25_algorithms/move_backward/69478.cc index 8ca198fc2c1..d0b1c91f87b 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move_backward/69478.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move_backward/69478.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/move_backward/deque_iterators/1.cc b/libstdc++-v3/testsuite/25_algorithms/move_backward/deque_iterators/1.cc index e0502db5ead..ff4185e15f4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move_backward/deque_iterators/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move_backward/deque_iterators/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2009-12-24 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/2.cc index 15e64d2a0fd..0259ab99dd4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/pod.cc index 67ab8e5d396..370a568e280 100644 --- a/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/move_backward/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-10-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/next_permutation/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/next_permutation/moveable.cc index e82ff1db76b..178e74a3c25 100644 --- a/libstdc++-v3/testsuite/25_algorithms/next_permutation/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/next_permutation/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/none_of/1.cc b/libstdc++-v3/testsuite/25_algorithms/none_of/1.cc index f808fba079d..db65153796b 100644 --- a/libstdc++-v3/testsuite/25_algorithms/none_of/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/none_of/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/none_of/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/none_of/check_type.cc index 5940ad0ab82..cf44883c05d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/none_of/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/none_of/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/2.cc index 0722b109029..23f06ef2bf7 100644 --- a/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/pod.cc index 210dcaea6e0..98ab31143af 100644 --- a/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/none_of/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-25 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/nth_element/58800.cc b/libstdc++-v3/testsuite/25_algorithms/nth_element/58800.cc index f72f5e71e60..0f42f682fc7 100644 --- a/libstdc++-v3/testsuite/25_algorithms/nth_element/58800.cc +++ b/libstdc++-v3/testsuite/25_algorithms/nth_element/58800.cc @@ -17,7 +17,7 @@ // 25.3.2 [lib.alg.nth.element] -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/nth_element/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/nth_element/moveable.cc index 4e98ff56bf0..134854c7259 100644 --- a/libstdc++-v3/testsuite/25_algorithms/nth_element/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/nth_element/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/partial_sort/check_compare_by_value.cc b/libstdc++-v3/testsuite/25_algorithms/partial_sort/check_compare_by_value.cc index 98720d30813..c4a3abadaea 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partial_sort/check_compare_by_value.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partial_sort/check_compare_by_value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/partial_sort/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/partial_sort/moveable.cc index 2f89e2ab3cd..77f9fed02be 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partial_sort/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partial_sort/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/partition/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/partition/moveable.cc index db124d8d089..ea634280b65 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_copy/1.cc b/libstdc++-v3/testsuite/25_algorithms/partition_copy/1.cc index 50a931f8ce2..6d993d161e7 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_copy/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_copy/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_copy/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/partition_copy/check_type.cc index 5b9c8055df7..1628e9d67bb 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_copy/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_copy/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/2.cc index 2e80b15010c..111252f0ea6 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/pod.cc index 026828a6cb7..c49b25f7bf3 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_copy/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_point/1.cc b/libstdc++-v3/testsuite/25_algorithms/partition_point/1.cc index 1b7ecb766a1..063ce489024 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_point/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_point/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_point/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/partition_point/check_type.cc index 693a0a54d4e..fbd12846019 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_point/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_point/check_type.cc @@ -17,8 +17,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/2.cc index 225269f9cc1..2d879d275a5 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/pod.cc index 0468e64f129..87422bc26c1 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition_point/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/pop_heap/57010.cc b/libstdc++-v3/testsuite/25_algorithms/pop_heap/57010.cc index d38eecd2408..8f71cd72042 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pop_heap/57010.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pop_heap/57010.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc index f13c545a9d2..39999468b1d 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc @@ -17,7 +17,7 @@ // { dg-require-normal-mode "" } // { dg-require-cmath "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/prev_permutation/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/prev_permutation/moveable.cc index 30b78510983..78cc277d01e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/prev_permutation/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/prev_permutation/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc index 18d52b2d4f4..c7c049c81c9 100644 --- a/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc @@ -17,7 +17,7 @@ // { dg-require-normal-mode "" } // { dg-require-cmath "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/random_shuffle/59603.cc b/libstdc++-v3/testsuite/25_algorithms/random_shuffle/59603.cc index c0bd4473899..e9cb98e1112 100644 --- a/libstdc++-v3/testsuite/25_algorithms/random_shuffle/59603.cc +++ b/libstdc++-v3/testsuite/25_algorithms/random_shuffle/59603.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-debug-mode "" } // libstdc++/59603 diff --git a/libstdc++-v3/testsuite/25_algorithms/random_shuffle/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/random_shuffle/moveable.cc index 3215197953a..cbe3e13aa11 100644 --- a/libstdc++-v3/testsuite/25_algorithms/random_shuffle/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/random_shuffle/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/remove/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/remove/moveable.cc index 99667dca3ec..a805257858e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/remove/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/remove/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc index abcb70cb966..733a92aa109 100644 --- a/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/reverse/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/reverse/moveable.cc index 48991140a50..f9a25d30f44 100644 --- a/libstdc++-v3/testsuite/25_algorithms/reverse/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/reverse/moveable.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/rotate/dr488.cc b/libstdc++-v3/testsuite/25_algorithms/rotate/dr488.cc index bb83cd92f7d..fa24b070c5a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/rotate/dr488.cc +++ b/libstdc++-v3/testsuite/25_algorithms/rotate/dr488.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/rotate/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/rotate/moveable.cc index 9e95c4e2ac0..5c05182474a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/rotate/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/rotate/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/rotate/moveable2.cc b/libstdc++-v3/testsuite/25_algorithms/rotate/moveable2.cc index f944236f061..4d8349cabc0 100644 --- a/libstdc++-v3/testsuite/25_algorithms/rotate/moveable2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/rotate/moveable2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/search_n/58358.cc b/libstdc++-v3/testsuite/25_algorithms/search_n/58358.cc index 5ec778e42d9..a16002c3778 100644 --- a/libstdc++-v3/testsuite/25_algorithms/search_n/58358.cc +++ b/libstdc++-v3/testsuite/25_algorithms/search_n/58358.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 25.1.9 [lib.alg.search] diff --git a/libstdc++-v3/testsuite/25_algorithms/shuffle/1.cc b/libstdc++-v3/testsuite/25_algorithms/shuffle/1.cc index 4a148c0f86b..7e717f877fc 100644 --- a/libstdc++-v3/testsuite/25_algorithms/shuffle/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/shuffle/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2010-03-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/2.cc index 9ecb88261b5..9387a86dc01 100644 --- a/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // 2010-03-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/pod.cc index 2792bee8e1b..8585d325b41 100644 --- a/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/25_algorithms/shuffle/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // 2010-03-19 Paolo Carlini diff --git a/libstdc++-v3/testsuite/25_algorithms/sort/check_compare_by_value.cc b/libstdc++-v3/testsuite/25_algorithms/sort/check_compare_by_value.cc index 43e3c7fa785..3696d2a1424 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sort/check_compare_by_value.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sort/check_compare_by_value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/sort/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/sort/moveable.cc index 5e96382a85c..1b1f9e999fe 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sort/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sort/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc b/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc index f2d442086e7..c6f5fe81a1b 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc index b8efde51349..bb93780ffd0 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc @@ -16,7 +16,7 @@ // . // { dg-require-cmath "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_partition/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/stable_partition/moveable.cc index 9068ab134d1..cc96da430a4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_partition/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_partition/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_partition/pr52822.cc b/libstdc++-v3/testsuite/25_algorithms/stable_partition/pr52822.cc index 89f7f12a78e..e27270c5267 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_partition/pr52822.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_partition/pr52822.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_sort/49559.cc b/libstdc++-v3/testsuite/25_algorithms/stable_sort/49559.cc index 3a725abce34..f55a9d096c3 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_sort/49559.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_sort/49559.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_sort/check_compare_by_value.cc b/libstdc++-v3/testsuite/25_algorithms/stable_sort/check_compare_by_value.cc index e412af9ef47..d60bb150f2f 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_sort/check_compare_by_value.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_sort/check_compare_by_value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable.cc index 60890d6904f..f8938d3c1f0 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable2.cc b/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable2.cc index 50bbf731356..5d18bbeb96a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_sort/moveable2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/swap/68877.cc b/libstdc++-v3/testsuite/25_algorithms/swap/68877.cc index dd5aa8c6f7d..9530840ba81 100644 --- a/libstdc++-v3/testsuite/25_algorithms/swap/68877.cc +++ b/libstdc++-v3/testsuite/25_algorithms/swap/68877.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/swap/noexcept.cc b/libstdc++-v3/testsuite/25_algorithms/swap/noexcept.cc index f80f69b3d39..dd19dd2b1f4 100644 --- a/libstdc++-v3/testsuite/25_algorithms/swap/noexcept.cc +++ b/libstdc++-v3/testsuite/25_algorithms/swap/noexcept.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/swap_ranges/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/swap_ranges/moveable.cc index c4d3274ef39..0c6fbbf04ae 100644 --- a/libstdc++-v3/testsuite/25_algorithms/swap_ranges/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/swap_ranges/moveable.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/unique/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/unique/moveable.cc index 10b15de5ce8..7d19432bdab 100644 --- a/libstdc++-v3/testsuite/25_algorithms/unique/moveable.cc +++ b/libstdc++-v3/testsuite/25_algorithms/unique/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/upper_bound/partitioned.cc b/libstdc++-v3/testsuite/25_algorithms/upper_bound/partitioned.cc index 96cfb2e2ded..705a3f456a9 100644 --- a/libstdc++-v3/testsuite/25_algorithms/upper_bound/partitioned.cc +++ b/libstdc++-v3/testsuite/25_algorithms/upper_bound/partitioned.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG" } +// { dg-options "-D_GLIBCXX_DEBUG" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/complex/50880.cc b/libstdc++-v3/testsuite/26_numerics/complex/50880.cc index 3de62188512..7b8208cf027 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/50880.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/50880.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/51083.cc b/libstdc++-v3/testsuite/26_numerics/complex/51083.cc index bda6c3ed005..6132f2b265d 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/51083.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/51083.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/abi_tag.cc b/libstdc++-v3/testsuite/26_numerics/complex/abi_tag.cc index a668470cfba..09833add310 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/abi_tag.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/abi_tag.cc @@ -1,6 +1,5 @@ // Test that the C++11 variants of real/imag have an ABI tag -// { dg-do compile } -// { dg-options -std=gnu++11 } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/26_numerics/complex/c99.cc b/libstdc++-v3/testsuite/26_numerics/complex/c99.cc index c550520657e..d4881239cf0 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/c99.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/c99.cc @@ -1,5 +1,5 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11 -Wno-pedantic" } +// { dg-do compile { target c++11 } } +// { dg-options "-Wno-pedantic" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/comparison_operators/constexpr.cc b/libstdc++-v3/testsuite/26_numerics/complex/comparison_operators/constexpr.cc index 1751f7b0f09..cdbc2477900 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/comparison_operators/constexpr.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/comparison_operators/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/cons/48760_c++0x.cc b/libstdc++-v3/testsuite/26_numerics/complex/cons/48760_c++0x.cc index 7c1b36647bb..f4d4e8a85e6 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/cons/48760_c++0x.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/cons/48760_c++0x.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr.cc b/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr.cc index eb62816cd72..6d46cfc7426 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr_primary.cc b/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr_primary.cc index 7e92467942f..a14456d4720 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr_primary.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/cons/constexpr_primary.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/dr387_2.cc b/libstdc++-v3/testsuite/26_numerics/complex/dr387_2.cc index d26eff58595..8def010931f 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/dr387_2.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/dr387_2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/dr781_dr1137.cc b/libstdc++-v3/testsuite/26_numerics/complex/dr781_dr1137.cc index 973d9f54b89..c30952eac71 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/dr781_dr1137.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/dr781_dr1137.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-05-22 Paolo Carlini // // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/complex/dr844.cc b/libstdc++-v3/testsuite/26_numerics/complex/dr844.cc index b5887e67946..9f28c9b6f57 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/dr844.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/dr844.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-12 Paolo Carlini // // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/complex/literals/values.cc b/libstdc++-v3/testsuite/26_numerics/complex/literals/values.cc index 1353112297c..b7b814a8a7a 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/literals/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/literals/values.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++14 -Wno-pedantic" } -// { dg-do run } +// { dg-options "-Wno-pedantic" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/complex/requirements/constexpr_functions.cc index 8454a07a53f..10062bd5bad 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr.cc b/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr.cc index 3c0ede0390f..3dd03e08592 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr2.cc b/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr2.cc index ae41acb50aa..37c98b1df77 100644 --- a/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr2.cc +++ b/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc b/libstdc++-v3/testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc index 196df731486..a3fc9ed4f18 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/14608.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/14608.cc index 65f5c6c62d6..b5fd803d0d6 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/14608.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/14608.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include // Also make names from available in the global namespace: diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/48891.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/48891.cc index ef94fe10423..f535cc25627 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/48891.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/48891.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/48891 diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/51083.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/51083.cc index 05a2d17aa37..cf292d1fc76 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/51083.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/51083.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/53503.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/53503.cc index 21830cebf93..91d146e3db9 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/53503.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/53503.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -fno-trapping-math" } -// { dg-do compile } +// { dg-options "-fno-trapping-math" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/60401.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/60401.cc index a6be94aa3df..2788a920eba 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/60401.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/60401.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60401 diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/dr550.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/dr550.cc index b8b45890ce8..905d631b3a5 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/dr550.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/dr550.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-05-26 Paolo Carlini // // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc index e7bd24f11dc..a847953ec17 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cmath "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x.cc index dcdd91c6b4d..3163e0c9857 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/54686.cc b/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/54686.cc index 59f940441e7..94898892a55 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/54686.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/54686.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/60401.cc b/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/60401.cc index f0cff335e8e..5bfb8579404 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/60401.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/60401.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // PR libstdc++/60401 diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc b/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc index ecd150cbac6..6b5c5fa95dd 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/headers/ctgmath/complex.cc b/libstdc++-v3/testsuite/26_numerics/headers/ctgmath/complex.cc index 999272ed1ec..2ea6b9dd225 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/ctgmath/complex.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/ctgmath/complex.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc b/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc index 83d5e4a2b86..22840638898 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/iota/1.cc b/libstdc++-v3/testsuite/26_numerics/iota/1.cc index dad879957b4..c623cc60811 100644 --- a/libstdc++-v3/testsuite/26_numerics/iota/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/iota/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-06-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/2.cc index 8533fc314f3..ab665341194 100644 --- a/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/pod.cc b/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/pod.cc index 65c833795fc..2c0ca289c15 100644 --- a/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/pod.cc +++ b/libstdc++-v3/testsuite/26_numerics/iota/requirements/explicit_instantiation/pod.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2008-06-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/default.cc index ff941b0b1c5..734099a1722 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc index 0d28aa8f340..38b0138ca2a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/equal.cc index 2f7af41d227..e7e55f3c7b2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/inequal.cc index 4f20aece809..549f354394d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/serialize.cc index 7d7a6f5f030..18216bfe392 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/values.cc b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/values.cc index 509eed72fbd..8bf6dd2adc8 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc index 0aecb19e671..a1e6b2d6109 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/default.cc index 3e674566d5a..176abb1f4a2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/parms.cc index d163bef8150..75a102526b5 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/equal.cc index 1633d9c6c2d..c92a324d6ef 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/inequal.cc index c2a4425a8f9..f0c954df756 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/serialize.cc index a09425f1d6b..00d8935bdcb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values.cc index 1c110abc1b9..7c39b46c513 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values2.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values2.cc index 78945777897..8db37f864b3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values2.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values3.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values3.cc index 33f93c45b8e..1c742f5b3cd 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values3.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values4.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values4.cc index f7113604d72..0550d310198 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values4.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values5.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values5.cc index 8b827cd73c3..712e146c751 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values5.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/operators/values5.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/explicit_instantiation/1.cc index f55d4349444..3ab9c548a6a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc index 0543095211a..61a510548bb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/default.cc index 37d87a8133b..dba7c88f15b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc index 7f3aaf98423..40861aad13b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/equal.cc index d4f61b3c005..9d70a555ada 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/inequal.cc index 5a2a769b49d..5c7698abd9a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/serialize.cc index b7a657820e4..a980bc94449 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/explicit_instantiation/1.cc index 92ca0c8c755..6f54d70d3b0 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc index af008d45ba5..b5b4f7a5ad2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/default.cc index c1fefb4e8cb..1ee19740c0f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc index 93d7998fdc6..8ab6e9c17b1 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/equal.cc index 97dfd11e98b..ff6ab344537 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/inequal.cc index 4a7da176266..d0d26b5eed5 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/serialize.cc index c4af8f72109..d1353d1b7da 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/explicit_instantiation/1.cc index 9c2334e90e0..dce6379fd2a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc index f109d7e61cc..ce9139c29c3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc b/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc index d7ca5fc248b..99d5e1f8cab 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/55215.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/55215.cc index 28c46320539..fad9bd2757f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/55215.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/55215.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc index 638f944c06a..d5d70bf1e8c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc index 6fd14335f49..b47748d558d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/copy.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/copy.cc index 39ade87f2cf..21a38adde1e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/default.cc index 6775b41b952..696a55c8964 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc index 4d4661dd5b4..0ab8ef6c188 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc index 7dd6f8983f1..001577ad525 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc index 17a73f1a6bb..e88680340d1 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/equal.cc index f3c412d7168..6477435fcec 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/inequal.cc index a23164ca1e7..285694b3ae6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/serialize.cc index 1357d843a2b..7d78a47d018 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc index d84f74920ec..9e9a35a638a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc index a71daed42b1..0c21b47735b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/typedefs.cc index 18c4024bd41..2cabd7ba560 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/default.cc index 8493de13023..14322366441 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/initlist.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/initlist.cc index c892726f09a..a711030dd42 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/initlist.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/initlist.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/num_xbound_fun.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/num_xbound_fun.cc index 0625e423cf2..0da038bd668 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/num_xbound_fun.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/num_xbound_fun.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/range.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/range.cc index 1d459d6e415..30c0053e440 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/range.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/cons/range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/call-default.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/call-default.cc index 6e958e66bda..9d8010638f6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/call-default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/call-default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-10-13 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/equal.cc index 6e7658fa18a..6ef4316c72c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/inequal.cc index 3ea63328f84..2fba8e0eeaa 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/serialize.cc index 57717ddbaa0..8cfa29892ea 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/values.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/values.cc index 6a05c523e5e..94d3b9a2c1b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/explicit_instantiation/1.cc index 335b2b95a82..e1e485c9cd1 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc index eab4df937be..074f3ba9a41 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/default.cc index cce7cd539ff..4f4527235ca 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/parms.cc index 71fb091bfa3..24cef6c3335 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/equal.cc index 7f2a3d6225f..cb189fe9d23 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/inequal.cc index c31c13a69a0..462d6c1eded 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/serialize.cc index 44116fbf562..bc68a7ea899 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/explicit_instantiation/1.cc index 18dc2e4275c..03f6460a0df 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc index 83d92ef3691..627378444bf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/default.cc index 4ab1f6386f3..56a3b8e1350 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/parms.cc index affdec62658..cdd2ec8abfb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/equal.cc index e6a61de0f1d..292d15ef787 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/inequal.cc index 2bdc47a3f72..040f07f4944 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/serialize.cc index bb990f37c17..f65053a625a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/explicit_instantiation/1.cc index cb42d330537..d95ba32b235 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc index e6a1e34714f..60dedd725bf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/default.cc index 88080a17951..99a9ee4938b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc index b1ec96216c0..96a77f4d96c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/equal.cc index df6f626bf21..b05a1f9f48e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/inequal.cc index 8d9e5254ae5..97ce97860d7 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/serialize.cc index c88c1400765..94ad6863938 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/explicit_instantiation/1.cc index 9e172bf2382..8eb0165475f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc index 6ef53cc27f0..9751333a260 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/default.cc index 9e90862f64a..d69114fe05c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/parms.cc index db26f7f85bb..6b5596b649c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/equal.cc index 93b30303497..57d1ab43dd0 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/inequal.cc index 6a7dcfa0225..2659b640481 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/serialize.cc index a6c47de7213..61725c1eeb5 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/explicit_instantiation/1.cc index 6a2942bd7e3..9574a2a5ea2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc index bcd5847742a..b7ddf787caf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/default.cc index d3acbc86529..16b007233c5 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/parms.cc index 4167f40458d..5b630c54162 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/equal.cc index 4305193f141..814091ac2bf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/inequal.cc index 9202cd58df0..cc22e05817d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/serialize.cc index 38f70a853e0..bf267be05a7 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/values.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/values.cc index 1a70a8c75f8..09855526a94 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/explicit_instantiation/1.cc index 8af56e82bcd..4b1667f2986 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc index 7a864673a6e..f5126999005 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc index d4d69f82488..674ee3a2542 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_copy.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_copy.cc index 50ded0fb13b..8cbbebf4c06 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_move.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_move.cc index 142cbd9efe7..ab3cf71fda3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_move.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/base_move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc index 8ee38427e03..5a17e87cf9e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/default.cc index 79d34b7fc67..08bc817db79 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc index 05192daa54a..58958969304 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc index 31892f0b119..f65d851e071 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed_seq.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed_seq.cc index 3c8fdae7a07..46f8cf74f8d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed_seq.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/cons/seed_seq.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/equal.cc index b14c066ca63..364de52d040 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/inequal.cc index ea624780459..5819e65cd53 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/serialize.cc index 3bd8c376f46..fd6f92d221e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc index 98b44364387..62eb1038e30 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/typedefs.cc index e855820094e..eb39fe40fd8 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/knuth_b.cc b/libstdc++-v3/testsuite/26_numerics/random/knuth_b.cc index 768d03c90c0..25c68ff7e72 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/knuth_b.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/knuth_b.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/55215.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/55215.cc index b483acbad85..cd9c32e9914 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/55215.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/55215.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/copy.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/copy.cc index cd79ad8811a..47e903f83cb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/default.cc index 7266ef1fe3a..d55b834f123 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed1.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed1.cc index 5f0c15b3f16..d69bfaf47bf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed2.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed2.cc index 7350706081a..88c624c783f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed2.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed_seq.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed_seq.cc index a8abdde9d7e..de26cb018ad 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed_seq.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/cons/seed_seq.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/51795.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/51795.cc index 18f4261079a..3a6f243138c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/51795.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/51795.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/equal.cc index 9834675fa8d..9cac00eddd9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/inequal.cc index 0c353982875..5dc0dfd4b5a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/serialize.cc index e5042b2ef09..c9363218df8 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constants.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constants.cc index d50e685d2b5..8e0ab9ad11f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constants.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constants.cc @@ -1,5 +1,4 @@ -// { dg-do link } -// { dg-options "-std=gnu++11" } +// { dg-do link { target c++11 } } // { dg-require-cstdint "" } // // 2009-09-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc index 0eb414139c2..19406bcb148 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc index fa49f0d664f..5091d37b2e2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/non_uint_neg.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/non_uint_neg.cc index 3c7f7bf8256..e6fc31facff 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/non_uint_neg.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/non_uint_neg.cc @@ -18,8 +18,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // 26.4.3.1 class template linear_congruential_engine [rand.eng.lcong] diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/typedefs.cc index 2d344763829..d0e2d96891d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/default.cc index 2aacb129201..de5cb905862 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc index f335e5cb03c..42ecfea9e9d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/equal.cc index 3c5be25e5de..c324b20832d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/inequal.cc index 341b6fb5762..8f4942a2c19 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/serialize.cc index 965dd10b224..903a57ce9be 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/explicit_instantiation/1.cc index 885b9abcf78..060ca2b6e23 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc index 685f42d797e..970b3cc39eb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc index 45f38ad31ab..809b5adbe75 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/copy.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/copy.cc index f5ffb362088..a31ac426d71 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/default.cc index 04491bb44cf..f1e0ba860b9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc index 954db997e8e..30732393d5b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc index 668e77329db..097f16b536f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed_seq.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed_seq.cc index 963c938c7b5..06484bce250 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed_seq.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/cons/seed_seq.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/equal.cc index f962c24d8eb..4c80c9d0a52 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/inequal.cc index 9f4e0ccef66..fb59351ebbe 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/serialize.cc index 6e4f7859373..cfa6fdb2faa 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constants.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constants.cc index 5c9e448affe..d2ab4b6746d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constants.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constants.cc @@ -1,5 +1,4 @@ -// { dg-do link } -// { dg-options "-std=gnu++11" } +// { dg-do link { target c++11 } } // { dg-require-cstdint "" } // // 2009-09-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc index 9f73682e53d..4829c1122e5 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc index d332bf254c4..4f5d85323b0 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/typedefs.cc index a0c2843cde5..1e06a9b666e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/minstd_rand.cc b/libstdc++-v3/testsuite/26_numerics/random/minstd_rand.cc index 28e92543d1f..1b28f396ad2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/minstd_rand.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/minstd_rand.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/minstd_rand0.cc b/libstdc++-v3/testsuite/26_numerics/random/minstd_rand0.cc index d4cdec7b1ee..bc12ab55dcf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/minstd_rand0.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/minstd_rand0.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mt19937.cc b/libstdc++-v3/testsuite/26_numerics/random/mt19937.cc index 8926bcebe52..a611d65dc54 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mt19937.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mt19937.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/mt19937_64.cc b/libstdc++-v3/testsuite/26_numerics/random/mt19937_64.cc index b02e9633d0f..3f108a78955 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mt19937_64.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mt19937_64.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/default.cc index 12314409822..b4ed993f0e3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/parms.cc index c9aab86aa77..a036b0608f6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/58302.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/58302.cc index 25f0da36d73..3ba008c8336 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/58302.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/58302.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/equal.cc index 0b0a1a14761..091d302847b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/inequal.cc index 8afdc993013..cffb5d3acc4 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/serialize.cc index cb4b3ef24cd..1ab05217e87 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/values.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/values.cc index b4acca69d3b..eb59909da37 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/explicit_instantiation/1.cc index 7d07557934d..87b32a0c900 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc index 4cee7d2e493..ff227ba9020 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/default.cc index f9b781942ef..8c9eb9275c0 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/parms.cc index c0b86ed5809..339755ec1af 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/equal.cc index da44e9ed574..d4bf130f1e9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/inequal.cc index 54e31961492..3e29a7735cf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/serialize.cc index 3b84364ebb4..6d45bd96576 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/explicit_instantiation/1.cc index 2c1d2cdd7d3..069261d78a9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc index c9f85b25fe1..bc12a9f2f99 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/default.cc index c05e47dc848..9f85fda3ad9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/initlist_fun.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/initlist_fun.cc index 422f7f0a652..b45b812825a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/initlist_fun.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/initlist_fun.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/num_xbound_fun.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/num_xbound_fun.cc index 61f5c4fb808..78f27ed5d3f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/num_xbound_fun.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/num_xbound_fun.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc index 92fb0828893..378ba1e8691 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/call-default.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/call-default.cc index e3d5aa95a25..321f9500a0c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/call-default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/call-default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-10-13 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/equal.cc index 08dfe64ea0b..8348825f230 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/inequal.cc index adb5097b55f..8d8c6c70498 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/serialize.cc index 065f6aa8a80..44ee0f66bcf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/explicit_instantiation/1.cc index bce75f2a1f0..c4446d6f971 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc index 50aa3ac6493..0550715c42c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/default.cc index 5db50fb7bc2..86cbf7c03d7 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/initlist_fun.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/initlist_fun.cc index 32e06a3497f..de808cf1390 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/initlist_fun.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/initlist_fun.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/num_xbound_fun.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/num_xbound_fun.cc index f8afd640d75..b48d3a985d6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/num_xbound_fun.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/num_xbound_fun.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/range.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/range.cc index d2881d284bc..d71a8b9a184 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/range.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/call-default.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/call-default.cc index 4a114e2d556..ffe0f7142b3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/call-default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/call-default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-10-12 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/equal.cc index 346b6f3226b..6811ade008e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/inequal.cc index 16a7b0726fa..dd534a3e67c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc index 3fb75bda62a..89718cec7ea 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/explicit_instantiation/1.cc index 44b25e99fcf..961e35ada1d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc index abb06e9b869..7aff9dd9e0a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/default.cc index 1d2bb06d709..85299d3a25a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/parms.cc index fa2ed7f2505..34b225c5f73 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/equal.cc index f4c3d9ef7f6..b44ddf50b49 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/inequal.cc index c77c21010c3..97dc40af908 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/serialize.cc index 28cb4d5f22b..c70e3e43514 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/values.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/values.cc index b684f4994cc..e30c16894fb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/explicit_instantiation/1.cc index ddae75f0948..5969a9baac6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc index 7dbd7e4ddc0..a5a6b1678b9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc b/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc index f0efa4ce5c4..ad2cbc6e71b 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/default.cc index 04738ea4d8a..86015aa038f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/token.cc b/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/token.cc index 03496d49dbd..73730bc5f03 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/token.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/random_device/cons/token.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/random_device/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/random_device/requirements/typedefs.cc index 54725a77bbf..605283efaf8 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/random_device/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/random_device/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/ranlux24.cc b/libstdc++-v3/testsuite/26_numerics/random/ranlux24.cc index 4ff6da5dd0b..5d4dbea2354 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/ranlux24.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/ranlux24.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/ranlux24_base.cc b/libstdc++-v3/testsuite/26_numerics/random/ranlux24_base.cc index c5f085dab70..6b52ca1d066 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/ranlux24_base.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/ranlux24_base.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/ranlux48.cc b/libstdc++-v3/testsuite/26_numerics/random/ranlux48.cc index cb2b8940309..365533b0c9e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/ranlux48.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/ranlux48.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/ranlux48_base.cc b/libstdc++-v3/testsuite/26_numerics/random/ranlux48_base.cc index 3026ebb4d22..6e4e07e7f82 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/ranlux48_base.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/ranlux48_base.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc index 86ec25f9ae0..5960a70bf26 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/default.cc index 64885c4b8eb..5ee35d2ced3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-05 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/initlist.cc b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/initlist.cc index b1f7bb6646a..49c01303fa2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/initlist.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/initlist.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-02-13 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/range.cc b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/range.cc index ebf62979d51..85f34997a25 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/range.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-05 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/requirements/typedefs.cc index 3d81a3d3439..e7216583201 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-05 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc index 844b07a3341..af3d64815ed 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc index 45ff4887f9b..d69e46375e6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc index a302e172fe4..e039d66eab3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/copy.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/copy.cc index 23eaedd1e81..5ba043cb1f7 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc index 97dd64f1b7a..19e01de0deb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc index d531bec05b7..addbcacda1c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc index 317ea8365b6..2e832e91f0c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc index 74d0e464ed4..295ebebce6a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-12-07 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/equal.cc index a199c0a6fb9..106bd55b9bb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/inequal.cc index cf68f3d0507..ed81badb30a 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/serialize.cc index 26037375974..a3bc993d2d3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc index abf4e86d3d6..d7dee977b43 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc @@ -1,5 +1,4 @@ -// { dg-do link } -// { dg-options "-std=gnu++11" } +// { dg-do link { target c++11 } } // { dg-require-cstdint "" } // // 2009-09-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc index a82dffdfb05..a9b87a30f78 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc index 119acb026b5..56886359917 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/typedefs.cc index 484713b0469..7f58a2deafb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/default.cc index 89f8be190c1..9c4627685bb 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/parms.cc index 5ce07ab656d..04aa321c18f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/equal.cc index 90964b27abb..cedff945129 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/inequal.cc index 900ef42c659..755c567e237 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/serialize.cc index 0be9c5e6143..1a57b8dbac8 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/explicit_instantiation/1.cc index 4aeb5b16340..e9bad996ef4 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc index 4e802b1d491..a4f630e4d74 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/55215.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/55215.cc index 60a3501b91e..47efa412af4 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/55215.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/55215.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/copy.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/copy.cc index 09d247f9895..41d028b8bf6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/copy.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/default.cc index 67d7f185c2d..3b6089fe1ef 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed1.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed1.cc index 158ee2bdd26..4e6e8a5b8c8 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed2.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed2.cc index 4295046b26f..283657c8758 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed2.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed_seq.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed_seq.cc index 6de6988a961..5e6f8697704 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed_seq.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/seed_seq.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-02-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/equal.cc index 08d8f0675f5..cae61bb4557 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/inequal.cc index 46dd810a742..f86251d8d68 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/serialize.cc index ec9176dac50..6f798fc8744 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constants.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constants.cc index c4aadf9d5d8..5328964d72c 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constants.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constants.cc @@ -1,5 +1,4 @@ -// { dg-do link } -// { dg-options "-std=gnu++11" } +// { dg-do link { target c++11 } } // { dg-require-cstdint "" } // // 2009-09-29 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc index 24dc1e9b92b..ed7034dced5 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc index 4bbd93b007a..572a6b615d3 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/typedefs.cc index 9859419b269..f3e8fe9c574 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/default.cc index d31377e4fbb..f04c74abd4f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc index de216c2649c..2aa58546361 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/equal.cc index 04a123500dc..cf534e18442 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/inequal.cc index b6095bd4362..b4e113fc2fe 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/serialize.cc index 94f0c56f950..bd481e4fe2d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/values.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/values.cc index 2f2b8c53e36..2b689b947d9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/explicit_instantiation/1.cc index 3e9be47ccc1..4d53e38cc06 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc index 4f51288fb96..b6affa74158 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/default.cc index d824d2f94ea..9d91a36e684 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc index fae62074f4b..70992202006 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc index 28c8eb5b7c4..c11120ba692 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do run { target { ! simulator } } } +// { dg-do run { target { c++11 && { ! simulator } } } } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/equal.cc index ac2ccbb07e6..ba765d1efc6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/inequal.cc index 7a51bb8a6ce..f4a74aead01 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/serialize.cc index 52c7cf1ea56..1fb754e03e2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/explicit_instantiation/1.cc index ec3139d4bda..1958b7649ad 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc index 514be7e8b31..97a11b8c6d6 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/default.cc b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/default.cc index 2462df0028e..f54e2dbaf1f 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/parms.cc b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/parms.cc index 1a9272b4b3b..63898021db1 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/equal.cc b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/equal.cc index 7337f911040..f828bffdf26 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/inequal.cc index 45ba04227f1..75b5f6bdf69 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/serialize.cc index 2c8f211ba4e..3944829b4e7 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/explicit_instantiation/1.cc index 874c80be7f5..7a01708a5b8 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc index 7505ffb65df..fd1885a4d64 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/dr630-2.cc b/libstdc++-v3/testsuite/26_numerics/valarray/dr630-2.cc index b225dff50ae..550044aa7e1 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/dr630-2.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/dr630-2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/init-list.cc b/libstdc++-v3/testsuite/26_numerics/valarray/init-list.cc index 0ef873dac96..aca82b74027 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/init-list.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/moveable.cc b/libstdc++-v3/testsuite/26_numerics/valarray/moveable.cc index 2c50e209a16..9f097363812 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/moveable.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/noexcept_move_construct.cc b/libstdc++-v3/testsuite/26_numerics/valarray/noexcept_move_construct.cc index 73c8ebf30e0..df488ff477b 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-14 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/range_access.cc b/libstdc++-v3/testsuite/26_numerics/valarray/range_access.cc index 29865d0ca78..eda57a3f172 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/range_access.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/range_access2.cc b/libstdc++-v3/testsuite/26_numerics/valarray/range_access2.cc index 4a8af2371ba..cf0ffabe706 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/range_access2.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/range_access2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/valarray/swap.cc b/libstdc++-v3/testsuite/26_numerics/valarray/swap.cc index 6150b2fe95b..6e9647a9980 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray/swap.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/copy_neg.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/copy_neg.cc index 82cd3f14678..80831783335 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/copy_neg.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/5.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/5.cc index f9ff10d5a5b..079fe0d5be1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/5.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_fstream/assign/1.cc b/libstdc++-v3/testsuite/27_io/basic_fstream/assign/1.cc index 6324bc67865..ff237336529 100644 --- a/libstdc++-v3/testsuite/27_io/basic_fstream/assign/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_fstream/assign/1.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-fileio "" } // 27.9.1.16 Assign and swap [fstream.assign] diff --git a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/base.cc b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/base.cc index affea5a9259..dc89d4c1ceb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/base.cc +++ b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/base.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -O0 -D_GLIBCXX_USE_CXX11_ABI=1" } -// { dg-do link } +// { dg-options "-O0 -D_GLIBCXX_USE_CXX11_ABI=1" } +// { dg-do link { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/char/1.cc index 1ecf45712bc..05f02798ff8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/char/1.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/move.cc b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/move.cc index 73f3f411f7e..bd9edd14ee2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/move.cc +++ b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-fileio "" } // 27.9.1.15 basic_fstream constructors [fstream.cons] diff --git a/libstdc++-v3/testsuite/27_io/basic_fstream/open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_fstream/open/char/1.cc index c923399dc0a..1073ef35bc4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_fstream/open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_fstream/open/char/1.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/assign/1.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/assign/1.cc index a2d9a32d7b5..357b7eeeb0e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/assign/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/assign/1.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-fileio "" } // 27.9.1.8 Assign and swap [ifstream.assign] diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/2.cc index a3be8c0818e..105dd953840 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/2.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/move.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/move.cc index ce5425fc85d..44c4f773970 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/move.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-fileio "" } // 27.9.1.7 basic_ifstream constructors [ifstream.cons] diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/2.cc index c7c17aaf20b..31318c1a707 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/2.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool.cc b/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool.cc index af2d96008f6..7326f0f4051 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc b/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc index 5e333634ff7..9524010259d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/assign/1.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/assign/1.cc index e4365dad805..af6da89d3f2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/assign/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/assign/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/move.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/move.cc index d36e3ae138b..519541606d4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/move.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/assign/1.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/assign/1.cc index 0fbaf2e24d9..94e2b608fc8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/assign/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/assign/1.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-fileio "" } // 27.9.1.12 Assign and swap [ostringstream.assign] diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc index 12210109aa3..4bb4d6ecf83 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/move.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/move.cc index 7e92bc7f05a..95ebaadc95f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/move.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/move.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-fileio "" } // 27.9.1.11 basic_ofstream constructors [ofstream.cons] diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/2.cc index 7661a2733ff..edd54a6eb05 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/2.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/null.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/null.cc index e7c662775a8..6571184e7f2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/null.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/null.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc index 8f8550c6e0a..a26fafa42d3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // { dg-xfail-run-if "PR libstdc++/64054" { *-*-solaris* } } diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc index e595eb51200..d92f3513bae 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc index 9f1902a3334..419fff7c87c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-swprintf "" } // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/assign/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/assign/1.cc index 8453f9b0c79..5d42236625a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/assign/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/assign/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/move.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/move.cc index 873f5f1ce49..87010931c13 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/move.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc index c31aaade5ca..b0126ba1993 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "de_DE.ISO8859-15" } // 27.6.3 template class basic_streambuf diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/assign/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/assign/1.cc index 364fe1636c0..c1555e598b7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/assign/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/assign/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/move.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/move.cc index 869d952b594..2f67dba795f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/move.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/move.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/headers/cinttypes/types_std_c++0x.cc b/libstdc++-v3/testsuite/27_io/headers/cinttypes/types_std_c++0x.cc index 24d590ed0a1..afff4c6f1b9 100644 --- a/libstdc++-v3/testsuite/27_io/headers/cinttypes/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/27_io/headers/cinttypes/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2007-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/ios_base/failure/cxx11.cc b/libstdc++-v3/testsuite/27_io/ios_base/failure/cxx11.cc index 6275cab6373..35c12e46f88 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/failure/cxx11.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/failure/cxx11.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc b/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc index 52be513a968..30a7c36a278 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc b/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc index 745fc1fa2f1..9aeb4ff2c12 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc b/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc index a95c3b23eac..3837dd511d8 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc index 1e993de189c..4331a246fca 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "de_DE.ISO8859-1" } // 2010-03-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc index 7f86a9a8a98..0a7c1418009 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "en_US.UTF-8" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc index 7a43aab40de..429c4aa4463 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "de_DE.ISO8859-15" } // 2010-03-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc index 331ae77e5ac..9a0b3f3576b 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "en_US.UTF-8" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc index 8b9cd7747ea..20f8f5c3f17 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc index 859b5b84f9a..3ba6017b706 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc @@ -1,5 +1,5 @@ // { dg-require-namedlocale "de_DE.UTF-8" } -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc index ee34577f283..da4646e8fb5 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc index eec76812598..4adba5393c8 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc @@ -1,5 +1,5 @@ // { dg-require-namedlocale "de_DE.UTF-8" } -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc index 4564c2b33ab..d42bc110812 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "de_DE.ISO8859-15" } // 2010-03-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc index 4c2684c0234..848c1d496e3 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "en_US.UTF-8" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc index 6670f77a2cc..6d9c9cc3739 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "de_DE.ISO8859-15" } // 2010-03-01 Paolo Carlini diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc index 8297cc7e6a0..716d0db60a5 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "en_US.UTF-8" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc index 13f409cea6e..7b22d73da27 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc index 77fd09d67ea..3a1d2c4b964 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc @@ -1,5 +1,5 @@ // { dg-require-namedlocale "de_DE.UTF-8" } -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc index ccc9b84277f..c4b22c50dad 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc index 9548cb44fd6..c0d5869bf48 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc @@ -1,5 +1,5 @@ // { dg-require-namedlocale "de_DE.UTF-8" } -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // 2014-04-14 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/60270.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/60270.cc index abc0e8470f5..4fe722df6b2 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/60270.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/60270.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc index 55d55eb548a..41e1d69e098 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc index 15de1d498cf..3041d18d83f 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc index c9a62b30e35..eeaa93cbc66 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc index aa06701c075..a9d697364ae 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/27_io/rvalue_streams-2.cc b/libstdc++-v3/testsuite/27_io/rvalue_streams-2.cc index dc4b49475bb..19e855954af 100644 --- a/libstdc++-v3/testsuite/27_io/rvalue_streams-2.cc +++ b/libstdc++-v3/testsuite/27_io/rvalue_streams-2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc index 031e179474a..d2cd98304e8 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-08-26 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc index 5d1315612f9..2f8dcfb6294 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-08-26 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_01.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_01.cc index 141ff3fbffb..a949f90ae3a 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_01.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-11 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc index 1de88e22d96..1ba1499347f 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc index 35ab6639e01..582c4804e36 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc index 0fd2e7a4df4..3c6e07f551e 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc index 49379163537..a5661bc7f5f 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-08-01 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/dr2329_neg.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/dr2329_neg.cc index 6f64c3f10f0..e6a683c5ea6 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/dr2329_neg.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/dr2329_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc index 83dc7f1845e..b4aa177c797 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-23 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc index 94007298434..fc001adea4b 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-23 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc index 231dade3a5e..0d7080a9b61 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-10-01 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc index 85e1b8024c0..e9aa57dc0af 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc index 1d1844de4dc..01dede096d3 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc index 95212b2d0aa..da115cbfaf0 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-02 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc index a7ebce37eb2..db6ecc31a2b 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-02 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc index b1468956651..12c2142360f 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-02 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc index 75de3f2401e..6d6836a8753 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-02 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc index eea34a9c771..f403c652156 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-02 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc index 4b9bb557166..f9a24200f8b 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-05 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc index 33dbb0acf59..a69a67a3f67 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-10-24 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc index ec740fd40df..38dcc7d31cf 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc index 2382a48245d..faf023f4284 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-02 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc index 44378c63060..836e68fb87f 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-10-18 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc index 502239114e5..1aff704767d 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-02 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc index cbae19bcf3e..745b9f508ff 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-21 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_questionmark.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_questionmark.cc index e598b11c563..530314659d4 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_questionmark.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_questionmark.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-21 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc index 602a28fa38b..9d19a062e16 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-05 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_any.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_any.cc index 344a1ae0b52..19a0b5fe09c 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_any.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_any.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-11 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_00_03.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_00_03.cc index eb418a0b9d0..ba3de118219 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_00_03.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_00_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_01_03.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_01_03.cc index 360605bdf11..1d9a3537bd9 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_01_03.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_01_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_02_03.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_02_03.cc index 001c09e1d20..da96f592e46 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_02_03.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_02_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc index 4f7de4af39f..792179501ac 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "de_DE.UTF-8" } // diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/51711.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/51711.cc index 30fafc98105..5dd1f15d40d 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/51711.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/51711.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. // diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc index 6bab1ff753c..9756fb4d03b 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-24 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc index 9c0b675980b..b92046b8227 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/wchar_t/51711.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/wchar_t/51711.cc index f7725e55c64..bfbc7b3e318 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/wchar_t/51711.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/wchar_t/51711.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. // diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61424.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61424.cc index 3e25e8d3d63..ce9cd03ea43 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61424.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61424.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61720.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61720.cc index 0f5d6ce9532..66db004190d 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61720.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/61720.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/basic/string_01.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/basic/string_01.cc index d4ae7feea88..5de9ac33a81 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/basic/string_01.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/basic/string_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-17 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/dr2332_neg.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/dr2332_neg.cc index 0ed71813d84..95ef30fddcb 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/dr2332_neg.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/dr2332_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc index de4c6415389..275ddfbeb81 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-14 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/flags.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/flags.cc index 14c5a9819fb..4db1a11fcfe 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/flags.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/flags.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-18 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc index c3e81648096..46fd45d29c3 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-14 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc index dda6317bded..43686f8cb1f 100644 --- a/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc +++ b/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-08-26 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring.cc index 5ee1b422858..d5f41955d99 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=c++11" } +// { dg-do run { target c++11 } } // 2009-06-05 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring_op.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring_op.cc index fef10293b2d..96c1e6a6626 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring_op.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring_op.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/moveable.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/moveable.cc index b78572fb094..fa7933e1e81 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/moveable.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-07-07 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/pstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/pstring.cc index 6e0b1c898d7..ea45dd56aee 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/pstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/pstring.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/range.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/range.cc index 8d88ae90214..e31474e6450 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/range.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/range.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string.cc index dfc3c09b223..65f7eeb7189 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string_op.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string_op.cc index 2d1c23980aa..f47b6889ccf 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string_op.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/string_op.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring.cc index 63f2130eb23..2bf17efd177 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring_op.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring_op.cc index 0e3999d8514..00ef22a3e4b 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring_op.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/cstring_op.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/pstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/pstring.cc index ca20bb62067..0bac2a2df49 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/pstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/pstring.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/range.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/range.cc index efe137fb9ed..c386fa2eca7 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/range.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/range.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string.cc index 2222ebdc356..a385ceabf64 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string_op.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string_op.cc index 6dfb60fdfa6..b111778d15c 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string_op.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string_op.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/47724.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/47724.cc index e2297398c93..e8c7761dd51 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/47724.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/47724.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/cstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/cstring.cc index 634ca846991..4c337d9fcf9 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/cstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/cstring.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/default.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/default.cc index 7d93dddcf0d..929fa066da8 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/default.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/default.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_char.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_char.cc index c8a456ee1a4..71f07412dc4 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_char.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_char.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_wchar_t.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_wchar_t.cc index ce4443dc69e..2582ff969f7 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_wchar_t.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/pstring_wchar_t.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc index aca4a2ee644..1860177d5b0 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring.cc index 8aea9304d58..5c21cbb2cef 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_awk.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_awk.cc index 59a28985db8..1e666888dc3 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_awk.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_awk.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_ecma.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_ecma.cc index 6c76034450c..a1ea386ca14 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_ecma.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_ecma.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_egrep.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_egrep.cc index 3f0ae01b427..80d2b93cfec 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_egrep.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_egrep.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_grep.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_grep.cc index d8eb858a9d4..d0a67f34d8b 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_grep.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/cstring_grep.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/default.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/default.cc index 97a5b6c0cc0..49b71a3a505 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/default.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/default.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/range.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/range.cc index 83b80214641..02dbf896174 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/range.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/char/range.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/copy_char.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/copy_char.cc index 507ac429d8a..519038e1754 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/copy_char.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/copy_char.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-07-07 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/cstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/cstring.cc index dc250841dd5..6ce9e2ec278 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/cstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/cstring.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/string_range_01_02_03.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/string_range_01_02_03.cc index 91b9900dd04..214e1f65415 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/string_range_01_02_03.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/string_range_01_02_03.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-16 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/move_char.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/move_char.cc index 8a65b1bb518..927490cfff9 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/move_char.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/move_char.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-07-07 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_char.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_char.cc index 03fc4ed7ea7..44eacb9cd50 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_char.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_char.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_wchar_t.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_wchar_t.cc index fbd49c8a347..4e48f94d3ab 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_wchar_t.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/string_wchar_t.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/cstring.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/cstring.cc index b3a4b90f6a2..e3758db42b9 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/cstring.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/cstring.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/default.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/default.cc index 432fa75023b..84bcbd6400e 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/default.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/default.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/range.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/range.cc index 066f23dd814..98820ecd62b 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/range.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/wchar_t/range.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/imbue/string.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/imbue/string.cc index 1e21e474a33..2a3afdbaf12 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/imbue/string.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/imbue/string.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/multiple_quantifiers.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/multiple_quantifiers.cc index 936ec227bc8..91e7424d1e2 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/multiple_quantifiers.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/multiple_quantifiers.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/requirements/constexpr_data.cc index c3d33ac048f..f70980f108c 100644 --- a/libstdc++-v3/testsuite/28_regex/basic_regex/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/28_regex/basic_regex/requirements/constexpr_data.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/constants/constexpr.cc b/libstdc++-v3/testsuite/28_regex/constants/constexpr.cc index 611b435fd7e..cecea58d3d2 100644 --- a/libstdc++-v3/testsuite/28_regex/constants/constexpr.cc +++ b/libstdc++-v3/testsuite/28_regex/constants/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/constants/error_type.cc b/libstdc++-v3/testsuite/28_regex/constants/error_type.cc index 97d679a76f5..23d851bcea0 100644 --- a/libstdc++-v3/testsuite/28_regex/constants/error_type.cc +++ b/libstdc++-v3/testsuite/28_regex/constants/error_type.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2009-06-17 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/constants/match_flag_type.cc b/libstdc++-v3/testsuite/28_regex/constants/match_flag_type.cc index 04465dbbe91..b007e5f84d1 100644 --- a/libstdc++-v3/testsuite/28_regex/constants/match_flag_type.cc +++ b/libstdc++-v3/testsuite/28_regex/constants/match_flag_type.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // // 2009-06-17 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/constants/syntax_option_type.cc b/libstdc++-v3/testsuite/28_regex/constants/syntax_option_type.cc index 2d9e9ad9c7f..33ee43bd9d2 100644 --- a/libstdc++-v3/testsuite/28_regex/constants/syntax_option_type.cc +++ b/libstdc++-v3/testsuite/28_regex/constants/syntax_option_type.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2009-06-17 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/init-list.cc b/libstdc++-v3/testsuite/28_regex/init-list.cc index 85a005ec524..8f92308a4b4 100644 --- a/libstdc++-v3/testsuite/28_regex/init-list.cc +++ b/libstdc++-v3/testsuite/28_regex/init-list.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/64140.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/64140.cc index a87216701e5..2359d851917 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/64140.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/64140.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_01.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_01.cc index 9b6be38780f..9b42ed10a0e 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_01.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-20 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_position_01.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_position_01.cc index 82c0366149f..fda0d9c8cf5 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_position_01.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_position_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-25 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/default.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/default.cc index b6d6a9ead20..111b7adc287 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/default.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/default.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-10 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/dr2332_neg.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/dr2332_neg.cc index 33afe5cbc14..118aeb38e60 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/dr2332_neg.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/char/dr2332_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/wchar_t/default.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/wchar_t/default.cc index 3ad332d25ce..a6937f96738 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/wchar_t/default.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/ctors/wchar_t/default.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-10 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/typedefs.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/typedefs.cc index db0508e5ef3..6566beb9593 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/typedefs.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-10 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc index 35557e13162..a84a3a8be79 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-20 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc index d8a4bf541af..f9d13cd1e46 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "en_US.UTF-8" } // diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/64303.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/64303.cc index 5b3e5f96a14..aab10e51c13 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/64303.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/64303.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc index 6cd1f491feb..bc6d75197db 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-20 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/default.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/default.cc index 9ec4e7e6b15..a240b36b26b 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/default.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/default.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-10 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/dr2332_neg.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/dr2332_neg.cc index 061bb1e4192..b15f83eea5e 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/dr2332_neg.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/char/dr2332_neg.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/wchar_t/default.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/wchar_t/default.cc index 62f97763aae..c57c8ebd0b8 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/wchar_t/default.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/ctors/wchar_t/default.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-10 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/typedefs.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/typedefs.cc index 7358292a886..0980350e572 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/typedefs.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-10 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/string_01.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/string_01.cc index f9d7673eb16..463634aff60 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/string_01.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/string_01.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-07-20 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/wstring_02.cc b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/wstring_02.cc index 48487aca971..3221548eb3f 100644 --- a/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/wstring_02.cc +++ b/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/wchar_t/wstring_02.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-namedlocale "en_US.UTF-8" } // diff --git a/libstdc++-v3/testsuite/28_regex/match_results/ctors/char/default.cc b/libstdc++-v3/testsuite/28_regex/match_results/ctors/char/default.cc index 80b8bf767e5..8e880d6a692 100644 --- a/libstdc++-v3/testsuite/28_regex/match_results/ctors/char/default.cc +++ b/libstdc++-v3/testsuite/28_regex/match_results/ctors/char/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2009-06-10 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/match_results/ctors/wchar_t/default.cc b/libstdc++-v3/testsuite/28_regex/match_results/ctors/wchar_t/default.cc index a4f68c1fc0d..2e95aaab263 100644 --- a/libstdc++-v3/testsuite/28_regex/match_results/ctors/wchar_t/default.cc +++ b/libstdc++-v3/testsuite/28_regex/match_results/ctors/wchar_t/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2009-06-05 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/match_results/format.cc b/libstdc++-v3/testsuite/28_regex/match_results/format.cc index 455560858fb..bf37ce5cc6a 100644 --- a/libstdc++-v3/testsuite/28_regex/match_results/format.cc +++ b/libstdc++-v3/testsuite/28_regex/match_results/format.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2013-09-24 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/match_results/out_of_range_submatches.cc b/libstdc++-v3/testsuite/28_regex/match_results/out_of_range_submatches.cc index cad0c826007..e096f5dffe3 100644 --- a/libstdc++-v3/testsuite/28_regex/match_results/out_of_range_submatches.cc +++ b/libstdc++-v3/testsuite/28_regex/match_results/out_of_range_submatches.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/match_results/swap.cc b/libstdc++-v3/testsuite/28_regex/match_results/swap.cc index 05c7f799b7d..4db85f49692 100644 --- a/libstdc++-v3/testsuite/28_regex/match_results/swap.cc +++ b/libstdc++-v3/testsuite/28_regex/match_results/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2015-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/match_results/typedefs.cc b/libstdc++-v3/testsuite/28_regex/match_results/typedefs.cc index d35f4565f4c..1d31318cac5 100644 --- a/libstdc++-v3/testsuite/28_regex/match_results/typedefs.cc +++ b/libstdc++-v3/testsuite/28_regex/match_results/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-10 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/range_access.cc b/libstdc++-v3/testsuite/28_regex/range_access.cc index de6e96f851b..f56c2eb4651 100644 --- a/libstdc++-v3/testsuite/28_regex/range_access.cc +++ b/libstdc++-v3/testsuite/28_regex/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/regex_error/base.cc b/libstdc++-v3/testsuite/28_regex/regex_error/base.cc index c715924cd12..05a9183da14 100644 --- a/libstdc++-v3/testsuite/28_regex/regex_error/base.cc +++ b/libstdc++-v3/testsuite/28_regex/regex_error/base.cc @@ -17,7 +17,7 @@ // 28.6 [re.badexp] -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/28_regex/regex_error/regex_error.cc b/libstdc++-v3/testsuite/28_regex/regex_error/regex_error.cc index f7be44b2485..11744a92038 100644 --- a/libstdc++-v3/testsuite/28_regex/regex_error/regex_error.cc +++ b/libstdc++-v3/testsuite/28_regex/regex_error/regex_error.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2009-06-17 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/regression.cc b/libstdc++-v3/testsuite/28_regex/regression.cc index d367c8becc1..77ca043f851 100644 --- a/libstdc++-v3/testsuite/28_regex/regression.cc +++ b/libstdc++-v3/testsuite/28_regex/regression.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2015-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/requirements/typedefs.cc b/libstdc++-v3/testsuite/28_regex/requirements/typedefs.cc index b95b0d67243..22d83c18f8e 100644 --- a/libstdc++-v3/testsuite/28_regex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/28_regex/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/sub_match/cast_char.cc b/libstdc++-v3/testsuite/28_regex/sub_match/cast_char.cc index aef64034fb3..9a947c64a83 100644 --- a/libstdc++-v3/testsuite/28_regex/sub_match/cast_char.cc +++ b/libstdc++-v3/testsuite/28_regex/sub_match/cast_char.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-09 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/sub_match/cast_wchar_t.cc b/libstdc++-v3/testsuite/28_regex/sub_match/cast_wchar_t.cc index 07002e4beda..c74bde059e6 100644 --- a/libstdc++-v3/testsuite/28_regex/sub_match/cast_wchar_t.cc +++ b/libstdc++-v3/testsuite/28_regex/sub_match/cast_wchar_t.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-09 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/sub_match/embedded_zeros_cmp.cc b/libstdc++-v3/testsuite/28_regex/sub_match/embedded_zeros_cmp.cc index 64020707293..39644822c85 100644 --- a/libstdc++-v3/testsuite/28_regex/sub_match/embedded_zeros_cmp.cc +++ b/libstdc++-v3/testsuite/28_regex/sub_match/embedded_zeros_cmp.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2014-11-13 Daniel Kruegler diff --git a/libstdc++-v3/testsuite/28_regex/sub_match/length.cc b/libstdc++-v3/testsuite/28_regex/sub_match/length.cc index a133596b5e3..403a625b33d 100644 --- a/libstdc++-v3/testsuite/28_regex/sub_match/length.cc +++ b/libstdc++-v3/testsuite/28_regex/sub_match/length.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-09 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/sub_match/typedefs.cc b/libstdc++-v3/testsuite/28_regex/sub_match/typedefs.cc index 9aa8b751bda..9f6594416da 100644 --- a/libstdc++-v3/testsuite/28_regex/sub_match/typedefs.cc +++ b/libstdc++-v3/testsuite/28_regex/sub_match/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // // 2010-06-07 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/ctor.cc b/libstdc++-v3/testsuite/28_regex/traits/char/ctor.cc index b066ef15d6c..629cb56c63d 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/ctor.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/ctor.cc @@ -1,5 +1,4 @@ -// { dg-do link } -// { dg-options "-std=gnu++11" } +// { dg-do link { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc b/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc index 7596bb82b1e..b71796b8484 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-DNEWLINE_IN_CLASS_BLANK" { target newlib } } // diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/length.cc b/libstdc++-v3/testsuite/28_regex/traits/char/length.cc index 65d86e39c2a..e38aa67eac7 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/length.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/length.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/lookup_classname.cc b/libstdc++-v3/testsuite/28_regex/traits/char/lookup_classname.cc index a49e155a058..25c07ae71a9 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/lookup_classname.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/lookup_classname.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-23 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/lookup_collatename.cc b/libstdc++-v3/testsuite/28_regex/traits/char/lookup_collatename.cc index 99397cde1c8..a40c1bc8fe2 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/lookup_collatename.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/lookup_collatename.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-06-23 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/transform.cc b/libstdc++-v3/testsuite/28_regex/traits/char/transform.cc index b405c1e25f8..ddcb94ece01 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/transform.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/transform.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/transform_primary.cc b/libstdc++-v3/testsuite/28_regex/traits/char/transform_primary.cc index ca415f51e94..17c5ca357c8 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/transform_primary.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/transform_primary.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do run } +// { dg-do run { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/translate.cc b/libstdc++-v3/testsuite/28_regex/traits/char/translate.cc index 70edc57711e..e198656df16 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/translate.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/translate.cc @@ -1,5 +1,5 @@ // { dg_do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/translate_nocase.cc b/libstdc++-v3/testsuite/28_regex/traits/char/translate_nocase.cc index 9f519b4569a..d4386467388 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/translate_nocase.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/translate_nocase.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/user_defined.cc b/libstdc++-v3/testsuite/28_regex/traits/char/user_defined.cc index d5504d7b456..926c07c1feb 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/user_defined.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/user_defined.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do run } +// { dg-do run { target c++11 } } // // 2014-01-07 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/value.cc b/libstdc++-v3/testsuite/28_regex/traits/char/value.cc index 38b13362c3a..1a119860b83 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/value.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/value.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-08-11 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/ctor.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/ctor.cc index 4fad4aaccd7..32aa46ad22d 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/ctor.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/ctor.cc @@ -1,5 +1,4 @@ -// { dg-do link } -// { dg-options "-std=gnu++11" } +// { dg-do link { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc index 7c00c09fdf1..8ab25eedc56 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-additional-options "-DNEWLINE_IN_CLASS_BLANK" { target newlib } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/length.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/length.cc index 3c37440e66e..f4b786ef2a6 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/length.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/length.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_classname.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_classname.cc index e910ea2818f..6c9bb491c5b 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_classname.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_classname.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_collatename.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_collatename.cc index e1e60f5f88d..8e3437cf4aa 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_collatename.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_collatename.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform.cc index 5fe1cc7ef9f..da49cd33cc0 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform_primary.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform_primary.cc index f8be079e1f1..97742cc9b31 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform_primary.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/transform_primary.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do run } +// { dg-do run { target c++11 } } // // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate.cc index 6373cd17433..5e53b71d825 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // 2010-02-17 Stephen M. Webb diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate_nocase.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate_nocase.cc index ebd5a9a9241..92901f99687 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate_nocase.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/translate_nocase.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-03-12 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/user_defined.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/user_defined.cc index ebdc4fb0c9c..b81d4e296bc 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/user_defined.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/user_defined.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do run } +// { dg-do run { target c++11 } } // // 2014-01-07 Tim Shen diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/value.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/value.cc index 980563cf3af..1dc643c7865 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/value.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/value.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2008-08-11 Stephen M. Webb // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/60658.cc b/libstdc++-v3/testsuite/29_atomics/atomic/60658.cc index a9f0b4c0bc6..1524a570242 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/60658.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/60658.cc @@ -1,5 +1,5 @@ // { dg-require-atomic-builtins "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc b/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc index 21ac7589a6e..06749a4d1ba 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc @@ -1,6 +1,6 @@ // { dg-require-atomic-builtins "" } -// { dg-options "-std=gnu++11 -Wno-pedantic" } -// { dg-do compile } +// { dg-options "-Wno-pedantic" } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/62259.cc b/libstdc++-v3/testsuite/29_atomics/atomic/62259.cc index 458194a3bd1..a98b332c177 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/62259.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/62259.cc @@ -17,8 +17,7 @@ // { dg-require-atomic-builtins "" } // { dg-require-cstdint "" } -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc b/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc index 87888d1f9b5..7895b15d644 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/64658.cc @@ -16,7 +16,7 @@ // . // { dg-require-atomic-builtins "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/65147.cc b/libstdc++-v3/testsuite/29_atomics/atomic/65147.cc index 5e0c1240623..21b08b7d384 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/65147.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/65147.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc b/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc index 32a58ec991b..becafad3b33 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc @@ -15,9 +15,9 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run } +// { dg-do run { target c++11 } } // { dg-require-atomic-builtins "" } -// { dg-options "-std=gnu++11 -O0" } +// { dg-options "-O0" } #include #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/70766.cc b/libstdc++-v3/testsuite/29_atomics/atomic/70766.cc index 1390e4e4de5..961282a1ab6 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/70766.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/70766.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/49445.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/49445.cc index 784f7c4d632..556bd0b09f1 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/49445.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/49445.cc @@ -1,5 +1,5 @@ // { dg-require-atomic-builtins "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/assign_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/assign_neg.cc index d24e137255e..eb0111d4dc1 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/constexpr.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/constexpr.cc index 219b8a8ecdd..7e87bca31af 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_list.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_list.cc index c760f8584ca..59942fa98f5 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_list.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_list.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_neg.cc index de4c22013be..546ac505119 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/default.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/default.cc index 151a101b6d0..e066d672b54 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/default.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/direct_list.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/direct_list.cc index 9480ef211ba..f17b3c9bcb2 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/direct_list.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/direct_list.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/single_value.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/single_value.cc index b9304525bbc..0012f03b99a 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/single_value.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/single_value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/user_pod.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/user_pod.cc index a250598f2ec..e6c838bbbf2 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/user_pod.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/user_pod.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do link } +// { dg-do link { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/operators/51811.cc b/libstdc++-v3/testsuite/29_atomics/atomic/operators/51811.cc index 5450bea7c29..a1ec8ecf401 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/operators/51811.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/operators/51811.cc @@ -1,5 +1,5 @@ // { dg-require-atomic-builtins "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/operators/56011.cc b/libstdc++-v3/testsuite/29_atomics/atomic/operators/56011.cc index 8fcbe6ca11c..0e2b6408a74 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/operators/56011.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/operators/56011.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_assignment.cc b/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_assignment.cc index f68a402e85c..d94f2897dcc 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_assignment.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_assignment.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_conversion.cc b/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_conversion.cc index cf44b956140..003eedc9df8 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_conversion.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/operators/integral_conversion.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/operators/pointer_partial_void.cc b/libstdc++-v3/testsuite/29_atomics/atomic/operators/pointer_partial_void.cc index 3bd27ff2cfa..e73c1bb31cc 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/operators/pointer_partial_void.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/operators/pointer_partial_void.cc @@ -1,5 +1,5 @@ // { dg-require-atomic-builtins "" } -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/requirements/base_classes.cc b/libstdc++-v3/testsuite/29_atomics/atomic/requirements/base_classes.cc index 4fe4ee92805..7d7bb0b9801 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/requirements/base_classes.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/requirements/base_classes.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc b/libstdc++-v3/testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc index 52eaa040e2f..70a7bbce5c2 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic/requirements/explicit_instantiation/1.cc index 14f3ed9caf6..66508f5726c 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/clear/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/clear/1.cc index 26cd7fda99f..d695cc851ff 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/clear/1.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/clear/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-thread-fence "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/1.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/1.cc index 5e9bc51c368..2930fd12d98 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/1.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/56012.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/56012.cc index 46cfc923171..31de5b6cebd 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/56012.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/56012.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++11 -Wsystem-headers -Wnarrowing" } -// { dg-do compile } +// { dg-options "-Wsystem-headers -Wnarrowing" } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/aggregate.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/aggregate.cc index 62f1d5bf7ff..3694860337e 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/aggregate.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/aggregate.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/assign_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/assign_neg.cc index e22830dde4c..8d85cf90e37 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/copy_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/copy_neg.cc index f31ea8b9197..479abd98f69 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/default.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/default.cc index 2890b4652f9..1eb88575874 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/default.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc index ce3becba1b5..de702c77ac1 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/trivial.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/trivial.cc index 62116f1179d..80356d52b24 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/trivial.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/requirements/trivial.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc index 1123731e353..1ec988e44d5 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc @@ -1,6 +1,7 @@ // { dg-do compile { target i?86-*-* x86_64-*-* } } -// { dg-options "-std=gnu++11 -O2 -g0 -fno-exceptions -fno-asynchronous-unwind-tables" } +// { dg-options "-O2 -g0 -fno-exceptions -fno-asynchronous-unwind-tables" } // { dg-additional-options "-march=i486" { target ia32 } } +// { dg-require-effective-target c++11 } // { dg-skip-if "scans fail with LTO" { lto } { "-flto" } } // { dg-final { scan-assembler-times "xacquire\|\.byte\[^\n\r]*0xf2" 14 } } // { dg-final { scan-assembler-times "xrelease\|\.byte\[^\n\r]*0xf3" 14 } } diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc index 46a2d5aa247..51efdb181f1 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-thread-fence "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc index 875cf704a15..feb8bb08278 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-thread-fence "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/60940.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/60940.cc index 33271436bc0..53b1882ec83 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/60940.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/60940.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/65147.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/65147.cc index e29e2cca5dc..e03afa7da27 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/65147.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/65147.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/assign_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/assign_neg.cc index 2433c783977..c5b6103f4de 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/constexpr.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/constexpr.cc index e45309fd8d3..54dbecb2c7b 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_list.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_list.cc index 70a5a27c7a4..1f0d1955545 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_list.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_list.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_neg.cc index 40eb1d8aee2..49e1eb18347 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/default.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/default.cc index 45537f02112..4ed3e049590 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/default.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/direct_list.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/direct_list.cc index 773aba69f09..b01b0e67de5 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/direct_list.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/direct_list.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/single_value.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/single_value.cc index 1ea0a32a4c4..519e4443034 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/single_value.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/cons/single_value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise.cc index cb159a00ea6..450abdf1223 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // -*- C++ -*- // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc index 546e4d6b77a..db0c3c1e23e 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // -*- C++ -*- // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement.cc index 9f07a97fbb2..40bf7055452 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // -*- C++ -*- // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc index bdbae2043a1..1c284da4ee8 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // -*- C++ -*- // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment.cc index 4b79a76ef17..89af3628dd6 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // -*- C++ -*- // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment_neg.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment_neg.cc index c5b4078d7a2..4d0c96581de 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // -*- C++ -*- // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_assignment.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_assignment.cc index fbe51481f94..5f5f22b7985 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_assignment.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_assignment.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_conversion.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_conversion.cc index e7f753245ec..aae12713903 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_conversion.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/integral_conversion.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/standard_layout.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/standard_layout.cc index dd177e1ea66..ec010970053 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/standard_layout.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // 2008-10-22 Benjamin Kosnik // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/trivial.cc b/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/trivial.cc index 3452df8fb5a..3e8435328f1 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/trivial.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/trivial.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc b/libstdc++-v3/testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc index cd13feeca84..7d3c55b6b64 100644 --- a/libstdc++-v3/testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc +++ b/libstdc++-v3/testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/headers/atomic/macros.cc b/libstdc++-v3/testsuite/29_atomics/headers/atomic/macros.cc index a53e26b2ad4..9ef8c788c75 100644 --- a/libstdc++-v3/testsuite/29_atomics/headers/atomic/macros.cc +++ b/libstdc++-v3/testsuite/29_atomics/headers/atomic/macros.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc b/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc index 51adbf57835..cfd5557c534 100644 --- a/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2008-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc b/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc index dbea9b9c24c..a0eec7c96a2 100644 --- a/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc +++ b/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc b/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc index a9d79559d6a..0960c641716 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc b/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc index 34851e669b4..7054e8abdb6 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc index eaadbfd8502..3ca483a30d0 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc index 481ccf07e0b..2c60c0ffdb1 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc index 503cc7481c4..e70614fd795 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc index 0a2dcfb6208..c4725bd5a3a 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2009-01-28 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc index b08cedfe544..f75e67389f5 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc index 1545971dfe5..85c76dfb6ba 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc index 5eded611f1e..a36dafb5d41 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc index ebfacee20f8..dcafe3e195a 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc @@ -1,5 +1,5 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11 -fno-inline -g0" } +// { dg-do compile { target c++11 } } +// { dg-options "-fno-inline -g0" } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc index 5146eb855d9..8fc5de62268 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/default.cc b/libstdc++-v3/testsuite/30_threads/future/cons/default.cc index bd22ff10b6a..b9424be1e30 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/default.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc b/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc index 21b9a096121..50971f3bff3 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc index 95ddf4d1f1b..16325232204 100644 --- a/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc index 920c20213b5..fff8a200175 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc index ccd85ab759a..3f9d2732c03 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc index 1a53b43e303..19f8b9c205c 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc index 60730d1ceb7..cd13ed36119 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc b/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc index a42b18d46de..590113ccc19 100644 --- a/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options " -std=gnu++11 " } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc index 179d443e533..40ccece2cb2 100644 --- a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc index 1860df2e5ab..480b89dcdb1 100644 --- a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc index 85f5626a0e4..ddd9dfaadab 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc index a9d79559d6a..0960c641716 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc index 9655ae457a9..4b94ef82e73 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc index c9392d8f92d..bad1b8be303 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc index c99d82005cc..d773e126755 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2008-03-18 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc index e54ffcfdb66..08d5d49800e 100644 --- a/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc index b53fd8d4ef1..ebfc00a2710 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc index deacad1864a..e67f9fda0ea 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc index dd40133354c..1c88262bc70 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc index a4e47fd2067..7f1156faae8 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc index 7b7e0f5ead0..db90ff2c0f5 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc index 1c316739192..1e2e9e0f975 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/promise/69106.cc b/libstdc++-v3/testsuite/30_threads/promise/69106.cc index 921ded13dea..322a2f47079 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/69106.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/69106.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc index c881fc144c5..e7567afb09a 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc index 4c8b24b447b..bdac11ea7b8 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc index 018bac344b0..4cbef6d7a74 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc index d0386e2fce3..e66d0473791 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc index 1f7fb886c03..9691ab0445d 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc b/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc index e9ded9773e3..e19a891b640 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc index 0bace32743a..a5b592b11e6 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc index 5f636f0ea98..29699acf860 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc index b1f029345e4..cb620eee8d9 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc index b537b3bd51c..b4d48fe8699 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc index 67c49458004..acb82aefa77 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc index 33b758c6de4..8c613b00653 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc index 8a709042ab5..29c81d290bd 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads-timed "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc index d0dd9ca6fbe..572c6582094 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc index f82e280bb4b..d0a5fe267d6 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc @@ -1,5 +1,5 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11 -fno-inline -g0" } +// { dg-do compile { target c++11 } } +// { dg-options "-fno-inline -g0" } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc index 61985d83441..4628858b169 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc index d4a8b67fb6c..ba96ab3dfd8 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc index 05852d0d659..ae20b01b9b5 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc index 767131e4763..a992b882fb0 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc index 530788ec50f..acea4b86f72 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc index 84e8a96aed2..4bad454d1f3 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc index d6e8f2b4e1c..8093a39a5d2 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc index aa1b232519a..21084ebd851 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc index efe6fbfdee6..6486ebc11c4 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/this_thread/57060.cc b/libstdc++-v3/testsuite/30_threads/this_thread/57060.cc index 83b1957e3d7..edb6973a5a5 100644 --- a/libstdc++-v3/testsuite/30_threads/this_thread/57060.cc +++ b/libstdc++-v3/testsuite/30_threads/this_thread/57060.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target *-*-gnu* } } -// { dg-options "-std=gnu++11" } +// { dg-do run { target { c++11 && *-*-gnu* } } } // { dg-require-gthreads "" } // N.B. this test intentionally does *not* use -pthread diff --git a/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc b/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc index 18fc1639a0a..59460e78a63 100644 --- a/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc +++ b/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-time "" } diff --git a/libstdc++-v3/testsuite/30_threads/thread/70503.cc b/libstdc++-v3/testsuite/30_threads/thread/70503.cc index 3b64ef8d2de..206c459cc65 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/70503.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/70503.cc @@ -15,8 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do link } -// { dg-options "-std=gnu++11 -static" { target *-*-*gnu* } } +// { dg-do link { target c++11 } } +// { dg-options "-static" { target *-*-*gnu* } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-effective-target static } diff --git a/libstdc++-v3/testsuite/30_threads/thread/adl.cc b/libstdc++-v3/testsuite/30_threads/thread/adl.cc index b04a4b58976..4c05690c3da 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/adl.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/adl.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc index 6f7c34bb6dd..93e725fd3fc 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc index 693ddf8de7c..3eda3070a3d 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/thread/id/70294.cc b/libstdc++-v3/testsuite/30_threads/thread/id/70294.cc index 9717637eef5..9b91477ccb1 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/id/70294.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/id/70294.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/30_threads/thread/id/hash.cc b/libstdc++-v3/testsuite/30_threads/thread/id/hash.cc index 0b65e92fb3d..af04a4cb314 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/id/hash.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/id/hash.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc b/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc index 20914c9512a..c1b4dd0fb5c 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_neg.cc index 95f0a0ccfec..468cc060d47 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/copy_neg.cc index df93f381cf4..064e8531fa7 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2008-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.cc index 7dd1f67ec42..42cbc57f444 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // Copyright (C) 2009-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/typedefs.cc index ae5397262cf..756c4a2df97 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads-timed "" } diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/60497.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/60497.cc index 922782fd9a8..c6c6f372205 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/60497.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/60497.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options " -std=gnu++11 " } +// { dg-do compile { target c++11 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc index 376fef2a60f..cefea77441c 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc index 9e2d39df7e2..f15c8c3ba8a 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-gthreads "" } diff --git a/libstdc++-v3/testsuite/decimal/pr58815.cc b/libstdc++-v3/testsuite/decimal/pr58815.cc index d599ca6d5a7..491805074a8 100644 --- a/libstdc++-v3/testsuite/decimal/pr58815.cc +++ b/libstdc++-v3/testsuite/decimal/pr58815.cc @@ -1,5 +1,3 @@ -// { dg-options "-std=gnu++11" } -// // Copyright (C) 2013-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -17,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-require-effective-target dfp } #include diff --git a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc index 0349d29d9ff..19681d7aa69 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/algorithm/search.cc b/libstdc++-v3/testsuite/experimental/algorithm/search.cc index d12ce032be6..c7d4d591175 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/search.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/search.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/any/assign/1.cc b/libstdc++-v3/testsuite/experimental/any/assign/1.cc index ad0e84e3343..aee151582e1 100644 --- a/libstdc++-v3/testsuite/experimental/any/assign/1.cc +++ b/libstdc++-v3/testsuite/experimental/any/assign/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/assign/2.cc b/libstdc++-v3/testsuite/experimental/any/assign/2.cc index 0363b9f5015..7022878f795 100644 --- a/libstdc++-v3/testsuite/experimental/any/assign/2.cc +++ b/libstdc++-v3/testsuite/experimental/any/assign/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/assign/self.cc b/libstdc++-v3/testsuite/experimental/any/assign/self.cc index 245497710a2..c40d2bbcd19 100644 --- a/libstdc++-v3/testsuite/experimental/any/assign/self.cc +++ b/libstdc++-v3/testsuite/experimental/any/assign/self.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/any/cons/1.cc b/libstdc++-v3/testsuite/experimental/any/cons/1.cc index cc5ccda92c7..c32d833393a 100644 --- a/libstdc++-v3/testsuite/experimental/any/cons/1.cc +++ b/libstdc++-v3/testsuite/experimental/any/cons/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/cons/2.cc b/libstdc++-v3/testsuite/experimental/any/cons/2.cc index 409ff83df14..fef713d99a5 100644 --- a/libstdc++-v3/testsuite/experimental/any/cons/2.cc +++ b/libstdc++-v3/testsuite/experimental/any/cons/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc b/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc index 99f74b83f25..52b2b02498f 100644 --- a/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc +++ b/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/any/cons/nontrivial.cc b/libstdc++-v3/testsuite/experimental/any/cons/nontrivial.cc index 585dce63e17..a5a04c4cc85 100644 --- a/libstdc++-v3/testsuite/experimental/any/cons/nontrivial.cc +++ b/libstdc++-v3/testsuite/experimental/any/cons/nontrivial.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/any/misc/any_cast.cc b/libstdc++-v3/testsuite/experimental/any/misc/any_cast.cc index bb0f754f549..e7882268b32 100644 --- a/libstdc++-v3/testsuite/experimental/any/misc/any_cast.cc +++ b/libstdc++-v3/testsuite/experimental/any/misc/any_cast.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/misc/any_cast_neg.cc b/libstdc++-v3/testsuite/experimental/any/misc/any_cast_neg.cc index 82957a1f544..abd956281a8 100644 --- a/libstdc++-v3/testsuite/experimental/any/misc/any_cast_neg.cc +++ b/libstdc++-v3/testsuite/experimental/any/misc/any_cast_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/misc/any_cast_no_rtti.cc b/libstdc++-v3/testsuite/experimental/any/misc/any_cast_no_rtti.cc index 68ad7e7bb95..9fbdab36ba2 100644 --- a/libstdc++-v3/testsuite/experimental/any/misc/any_cast_no_rtti.cc +++ b/libstdc++-v3/testsuite/experimental/any/misc/any_cast_no_rtti.cc @@ -1,5 +1,5 @@ -// { dg-options "-std=gnu++14 -fno-rtti" } -// { dg-do run } +// { dg-options "-fno-rtti" } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/misc/swap.cc b/libstdc++-v3/testsuite/experimental/any/misc/swap.cc index 1f1f5421701..6b4735b34a9 100644 --- a/libstdc++-v3/testsuite/experimental/any/misc/swap.cc +++ b/libstdc++-v3/testsuite/experimental/any/misc/swap.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/modifiers/1.cc b/libstdc++-v3/testsuite/experimental/any/modifiers/1.cc index cee2d04fe60..8af3e61aae6 100644 --- a/libstdc++-v3/testsuite/experimental/any/modifiers/1.cc +++ b/libstdc++-v3/testsuite/experimental/any/modifiers/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/observers/type.cc b/libstdc++-v3/testsuite/experimental/any/observers/type.cc index 7cf65c3efdb..a5725fbdd85 100644 --- a/libstdc++-v3/testsuite/experimental/any/observers/type.cc +++ b/libstdc++-v3/testsuite/experimental/any/observers/type.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/any/typedefs.cc b/libstdc++-v3/testsuite/experimental/any/typedefs.cc index 40de6848c6e..875c9ec6d23 100644 --- a/libstdc++-v3/testsuite/experimental/any/typedefs.cc +++ b/libstdc++-v3/testsuite/experimental/any/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/array/make_array.cc b/libstdc++-v3/testsuite/experimental/array/make_array.cc index 823596de553..56611df505b 100644 --- a/libstdc++-v3/testsuite/experimental/array/make_array.cc +++ b/libstdc++-v3/testsuite/experimental/array/make_array.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/array/neg.cc b/libstdc++-v3/testsuite/experimental/array/neg.cc index 23e55e31716..e91a5c5b0e2 100644 --- a/libstdc++-v3/testsuite/experimental/array/neg.cc +++ b/libstdc++-v3/testsuite/experimental/array/neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/deque/erasure.cc b/libstdc++-v3/testsuite/experimental/deque/erasure.cc index 75a5914c3b0..9acb5e112c4 100644 --- a/libstdc++-v3/testsuite/experimental/deque/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/deque/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc b/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc index ffd97ce19d2..ce4c5528f6e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc b/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc index b44ff3f9e9b..fcd9705ca6f 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc index 59b94e5e556..64cc29da601 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc index 5b4c573eebf..4d501ae8a0c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc index a5f6a3e8613..2ccd1c53d6b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc index cdb79111351..684ba7e869c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // 15.4 Copy [fs.op.copy_file] diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc index a52efe4ce5c..7c69a48da50 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc index 66c2b3fb796..9ef7483d483 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc index 8aeaf33d385..056675aab39 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc index 633095d0307..30341da8bce 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc index 7e295666020..f217e850045 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc index e4148609c2b..bbdd7bf473f 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // 15.26 Permissions [fs.op.permissions] diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc index e1447b24e62..8f5991c612a 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc index 1ae363b8340..2277ab0ea3e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } }E // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc index 3db7501afe1..5c0f934a417 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc index 9a3a8c3e3cf..10191732268 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc index 86552c0f840..4567f50792e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc index 0db2006723c..3ce6b532bb1 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc index dbec3f671b0..01531569e31 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc index 5ffd781a139..9732118afb7 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc index 9cbe841052e..3b8a11fecd9 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc index 99367a38750..33834a5ead2 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc index 41bf8b4fe23..60627576c88 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc index e4e927851a3..d069ac6a4be 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc index f5953b8693c..9feb19ec15e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc index 90eaf306bd3..b68e65d84ef 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc index 1931d23bc5a..c989458315c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc index df9bb3177ea..cbbe1c1387d 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc index 8079bc66300..eb2b09e73d1 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc index e2ee0a32be6..762417e5d5b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc index 5386c346237..315553c6999 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc index 0ab3bf32199..4f448b1c62a 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc index df750430ee9..307e2dfaf72 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc index 3feadfc9d60..1b9a3ea1a89 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc index 5fe73bf298c..422b0c9ef24 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc index 47f9f4343c0..bf8f9f3823d 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc index 610ad55a803..dac2495519d 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc index c1bae002958..262336bc250 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc index bcbe4cc1d7d..04c889f9421 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc index 3c15a67d7ee..036eff9557b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc index 0eb16762ea2..406c1cb1f33 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc index 164fef80950..7ee76ab6b04 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc index e56fda7b95f..6868959a439 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc index 331a0235473..6b3aef34de7 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc index 78bdab9fce9..378d7b1ccdd 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc index b9eb04b7f7f..5ed8e54783c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc index 9370259e47f..1ab64c896eb 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc index 58b5c451d01..42573b41917 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc index 5a0ee56604f..bec43d5dc93 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc index 08de599885f..06bae55b41b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc index 7b568bb3362..8da90097852 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc index 5a444fa7170..c92e977d829 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc index 1659848ba1a..66c7193a04c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc index 63e4577210c..8305a51d1d0 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -lstdc++fs" } +// { dg-options "-lstdc++fs" } +// { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/forward_list/erasure.cc b/libstdc++-v3/testsuite/experimental/forward_list/erasure.cc index 86a65211f36..4f644957e69 100644 --- a/libstdc++-v3/testsuite/experimental/forward_list/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/forward_list/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/functional/not_fn.cc b/libstdc++-v3/testsuite/experimental/functional/not_fn.cc index 1b3adf10899..d5080288e31 100644 --- a/libstdc++-v3/testsuite/experimental/functional/not_fn.cc +++ b/libstdc++-v3/testsuite/experimental/functional/not_fn.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/functional/searchers.cc b/libstdc++-v3/testsuite/experimental/functional/searchers.cc index 143593fe655..7965cbb1f8c 100644 --- a/libstdc++-v3/testsuite/experimental/functional/searchers.cc +++ b/libstdc++-v3/testsuite/experimental/functional/searchers.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/functional/value.cc b/libstdc++-v3/testsuite/experimental/functional/value.cc index 9dce16e0ff5..96a2b78a45b 100644 --- a/libstdc++-v3/testsuite/experimental/functional/value.cc +++ b/libstdc++-v3/testsuite/experimental/functional/value.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } #include diff --git a/libstdc++-v3/testsuite/experimental/iterator/make_ostream_joiner.cc b/libstdc++-v3/testsuite/experimental/iterator/make_ostream_joiner.cc index 5724f43367d..1cde67a427a 100644 --- a/libstdc++-v3/testsuite/experimental/iterator/make_ostream_joiner.cc +++ b/libstdc++-v3/testsuite/experimental/iterator/make_ostream_joiner.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/iterator/ostream_joiner.cc b/libstdc++-v3/testsuite/experimental/iterator/ostream_joiner.cc index 694d3088494..0ed8c5ed79a 100644 --- a/libstdc++-v3/testsuite/experimental/iterator/ostream_joiner.cc +++ b/libstdc++-v3/testsuite/experimental/iterator/ostream_joiner.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/iterator/requirements.cc b/libstdc++-v3/testsuite/experimental/iterator/requirements.cc index 846ccde2da3..83ff5459790 100644 --- a/libstdc++-v3/testsuite/experimental/iterator/requirements.cc +++ b/libstdc++-v3/testsuite/experimental/iterator/requirements.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // This is a compile-only test with minimal includes #include diff --git a/libstdc++-v3/testsuite/experimental/list/erasure.cc b/libstdc++-v3/testsuite/experimental/list/erasure.cc index 154d2c556d2..ed9e95493c8 100644 --- a/libstdc++-v3/testsuite/experimental/list/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/list/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/map/erasure.cc b/libstdc++-v3/testsuite/experimental/map/erasure.cc index c8d668e49d5..5e4f0b51f68 100644 --- a/libstdc++-v3/testsuite/experimental/map/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/map/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/assignment/assign.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/assignment/assign.cc index 705e379522b..1e4a95e2aa3 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/assignment/assign.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/assignment/assign.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/cons/cons.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/cons/cons.cc index 379c0463b80..9626cfe7e71 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/cons/cons.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/cons/cons.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/hash/hash.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/hash/hash.cc index dd4a48e97e6..9a74b94d01a 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/hash/hash.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/hash/hash.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/make_observer.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/make_observer.cc index 8cd6047ade0..455944d4615 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/make_observer.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/make_observer.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/relops/relops.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/relops/relops.cc index 3d5f071c9fc..75bfc084391 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/relops/relops.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/relops/relops.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/requirements.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/requirements.cc index 0c523b79e68..ee8f87b331d 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/requirements.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/requirements.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/swap/swap.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/swap/swap.cc index e551f0bb1ae..9746c845403 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/swap/swap.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/swap/swap.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/typedefs.cc b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/typedefs.cc index 9347951467e..dda1a0b1c15 100644 --- a/libstdc++-v3/testsuite/experimental/memory/observer_ptr/typedefs.cc +++ b/libstdc++-v3/testsuite/experimental/memory/observer_ptr/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/assign/assign.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/assign/assign.cc index 0ab0a282013..deea575009b 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/assign/assign.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/assign/assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cast/cast.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cast/cast.cc index bd59d4dac8a..d4074fed396 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cast/cast.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cast/cast.cc @@ -1,5 +1,3 @@ -// { dg-options "-std=gnu++14" } - // Copyright (C) 2015-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -22,7 +20,7 @@ #include #include -// { dg-do compile } +// { dg-do compile { target c++14 } } struct A { }; diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/comparison/comparison.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/comparison/comparison.cc index 66f8faccd53..c313a3644f7 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/comparison/comparison.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/comparison/comparison.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc index 4a9ca3b771d..2247a76c9ab 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc index 7609722e671..2ef8184df80 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc index 030cb069724..9638f6277ab 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc index 7f735e09ddc..c2cc4d3b4b4 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc index 8db3505ce09..0ff79cf338a 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc index d6de4995765..1297e21cb0f 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc index 4b5a39ea370..53d54f55384 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc index 0f6e22aa588..fcc910eb50a 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc index dee2b150276..69292c5d1f9 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/dest/dest.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/dest/dest.cc index f799fe7ce88..855a8e9b147 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/dest/dest.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/dest/dest.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/reset.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/reset.cc index 9c4b61fec8f..3f8f88ba1f5 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/reset.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/reset.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/swap.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/swap.cc index 174f12b6443..6169533cf9a 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/modifiers/swap.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc index 387b9b54974..ca4bfbd5db1 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/operators.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/operators.cc index 8c986df81ec..bae6bfa7993 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/operators.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/operators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/owner_before.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/owner_before.cc index 182e9d31b2f..50c3be3d3b6 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/owner_before.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/owner_before.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/use_count.cc b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/use_count.cc index adb2f6c4908..7b8d8086d95 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/use_count.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/observers/use_count.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/1.cc b/libstdc++-v3/testsuite/experimental/memory_resource/1.cc index 08c02e5e31b..eba47a919e5 100644 --- a/libstdc++-v3/testsuite/experimental/memory_resource/1.cc +++ b/libstdc++-v3/testsuite/experimental/memory_resource/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // { dg-require-atomic-builtins "" } // Copyright (C) 2015-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/null_memory_resource.cc b/libstdc++-v3/testsuite/experimental/memory_resource/null_memory_resource.cc index c84436a2eba..3fc42a464ef 100644 --- a/libstdc++-v3/testsuite/experimental/memory_resource/null_memory_resource.cc +++ b/libstdc++-v3/testsuite/experimental/memory_resource/null_memory_resource.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc index 299bb72ea4b..63344282ac5 100644 --- a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc +++ b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/numeric/gcd.cc b/libstdc++-v3/testsuite/experimental/numeric/gcd.cc index 7d223b50b81..038f12d270c 100644 --- a/libstdc++-v3/testsuite/experimental/numeric/gcd.cc +++ b/libstdc++-v3/testsuite/experimental/numeric/gcd.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } #include diff --git a/libstdc++-v3/testsuite/experimental/numeric/lcm.cc b/libstdc++-v3/testsuite/experimental/numeric/lcm.cc index 07715199967..2c969b0afe5 100644 --- a/libstdc++-v3/testsuite/experimental/numeric/lcm.cc +++ b/libstdc++-v3/testsuite/experimental/numeric/lcm.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } #include diff --git a/libstdc++-v3/testsuite/experimental/optional/assignment/1.cc b/libstdc++-v3/testsuite/experimental/optional/assignment/1.cc index 514503ab6fb..3ebf3fcd62f 100644 --- a/libstdc++-v3/testsuite/experimental/optional/assignment/1.cc +++ b/libstdc++-v3/testsuite/experimental/optional/assignment/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/assignment/2.cc b/libstdc++-v3/testsuite/experimental/optional/assignment/2.cc index 65d18dab39f..e7d397c6e34 100644 --- a/libstdc++-v3/testsuite/experimental/optional/assignment/2.cc +++ b/libstdc++-v3/testsuite/experimental/optional/assignment/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/assignment/3.cc b/libstdc++-v3/testsuite/experimental/optional/assignment/3.cc index c810ca097f3..f3ca657a0ed 100644 --- a/libstdc++-v3/testsuite/experimental/optional/assignment/3.cc +++ b/libstdc++-v3/testsuite/experimental/optional/assignment/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/assignment/4.cc b/libstdc++-v3/testsuite/experimental/optional/assignment/4.cc index 9fc62803e49..6eba5bba31d 100644 --- a/libstdc++-v3/testsuite/experimental/optional/assignment/4.cc +++ b/libstdc++-v3/testsuite/experimental/optional/assignment/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/assignment/5.cc b/libstdc++-v3/testsuite/experimental/optional/assignment/5.cc index 0ee9740a6e6..a3d7e851b61 100644 --- a/libstdc++-v3/testsuite/experimental/optional/assignment/5.cc +++ b/libstdc++-v3/testsuite/experimental/optional/assignment/5.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/assignment/6.cc b/libstdc++-v3/testsuite/experimental/optional/assignment/6.cc index cef6dda3222..2957581ae17 100644 --- a/libstdc++-v3/testsuite/experimental/optional/assignment/6.cc +++ b/libstdc++-v3/testsuite/experimental/optional/assignment/6.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/cons/copy.cc b/libstdc++-v3/testsuite/experimental/optional/cons/copy.cc index d61304bcfc8..40f5af0272a 100644 --- a/libstdc++-v3/testsuite/experimental/optional/cons/copy.cc +++ b/libstdc++-v3/testsuite/experimental/optional/cons/copy.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/cons/default.cc b/libstdc++-v3/testsuite/experimental/optional/cons/default.cc index eed56be64fc..d9214b53eae 100644 --- a/libstdc++-v3/testsuite/experimental/optional/cons/default.cc +++ b/libstdc++-v3/testsuite/experimental/optional/cons/default.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/cons/move.cc b/libstdc++-v3/testsuite/experimental/optional/cons/move.cc index cd472d94da0..62f5b88d0f5 100644 --- a/libstdc++-v3/testsuite/experimental/optional/cons/move.cc +++ b/libstdc++-v3/testsuite/experimental/optional/cons/move.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/cons/value.cc b/libstdc++-v3/testsuite/experimental/optional/cons/value.cc index 123a89ede04..920b7960729 100644 --- a/libstdc++-v3/testsuite/experimental/optional/cons/value.cc +++ b/libstdc++-v3/testsuite/experimental/optional/cons/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/cons/value_neg.cc b/libstdc++-v3/testsuite/experimental/optional/cons/value_neg.cc index c862a04986a..f7ee66e3000 100644 --- a/libstdc++-v3/testsuite/experimental/optional/cons/value_neg.cc +++ b/libstdc++-v3/testsuite/experimental/optional/cons/value_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/default.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/default.cc index 4f535cf3dc2..667f2fe096c 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/default.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/default.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/value.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/value.cc index c0ddf2ffdc7..1c31764d3a0 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/value.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/cons/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/in_place.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/in_place.cc index 1711cea227d..53f5cfaa2a2 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/in_place.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/in_place.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc index f8ee6fc2fcc..e1411d2ea06 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/nullopt.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/nullopt.cc index 7d63f67d91c..955a759a99d 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/nullopt.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/nullopt.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/1.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/1.cc index 61594677fde..5318d578d55 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/1.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc index 49c7ad476c5..c9e726cf72b 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc index 3e47c8800b3..b33ade43036 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/4.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/4.cc index ee2bf1b3e81..501aa59cdb8 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/4.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/5.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/5.cc index 6156e051014..9b73c67dc00 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/5.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/5.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/1.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/1.cc index d9dbe7de446..17ba463b8a5 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/1.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/2.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/2.cc index 67ece234ed6..8d0d2d6edd0 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/2.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/3.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/3.cc index 3591f1534d9..ca3e916a9af 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/3.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/4.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/4.cc index 196647b250a..17f28611b06 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/4.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/5.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/5.cc index fe590018b41..78ea994708a 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/5.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/5.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/6.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/6.cc index 4cf0b7df77a..6345410bd34 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/6.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/relops/6.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/in_place.cc b/libstdc++-v3/testsuite/experimental/optional/in_place.cc index 33c35c76f69..f81702b2ec1 100644 --- a/libstdc++-v3/testsuite/experimental/optional/in_place.cc +++ b/libstdc++-v3/testsuite/experimental/optional/in_place.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/make_optional.cc b/libstdc++-v3/testsuite/experimental/optional/make_optional.cc index 12611ad77f0..fd2b27a71b6 100644 --- a/libstdc++-v3/testsuite/experimental/optional/make_optional.cc +++ b/libstdc++-v3/testsuite/experimental/optional/make_optional.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/nullopt.cc b/libstdc++-v3/testsuite/experimental/optional/nullopt.cc index bba8d6ee5d6..8df10483ff8 100644 --- a/libstdc++-v3/testsuite/experimental/optional/nullopt.cc +++ b/libstdc++-v3/testsuite/experimental/optional/nullopt.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/observers/1.cc b/libstdc++-v3/testsuite/experimental/optional/observers/1.cc index 77f15f548a7..a832341ba39 100644 --- a/libstdc++-v3/testsuite/experimental/optional/observers/1.cc +++ b/libstdc++-v3/testsuite/experimental/optional/observers/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/observers/2.cc b/libstdc++-v3/testsuite/experimental/optional/observers/2.cc index 23eb33f22a0..316f41e0385 100644 --- a/libstdc++-v3/testsuite/experimental/optional/observers/2.cc +++ b/libstdc++-v3/testsuite/experimental/optional/observers/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/observers/3.cc b/libstdc++-v3/testsuite/experimental/optional/observers/3.cc index 4fff08a125e..2cf055f41e2 100644 --- a/libstdc++-v3/testsuite/experimental/optional/observers/3.cc +++ b/libstdc++-v3/testsuite/experimental/optional/observers/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/observers/4.cc b/libstdc++-v3/testsuite/experimental/optional/observers/4.cc index 1a3f000573e..3768956403e 100644 --- a/libstdc++-v3/testsuite/experimental/optional/observers/4.cc +++ b/libstdc++-v3/testsuite/experimental/optional/observers/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/observers/5.cc b/libstdc++-v3/testsuite/experimental/optional/observers/5.cc index 084d7dae69b..5384fb7ee1f 100644 --- a/libstdc++-v3/testsuite/experimental/optional/observers/5.cc +++ b/libstdc++-v3/testsuite/experimental/optional/observers/5.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/relops/1.cc b/libstdc++-v3/testsuite/experimental/optional/relops/1.cc index 9fb24f02ce6..0c20362e36a 100644 --- a/libstdc++-v3/testsuite/experimental/optional/relops/1.cc +++ b/libstdc++-v3/testsuite/experimental/optional/relops/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/relops/2.cc b/libstdc++-v3/testsuite/experimental/optional/relops/2.cc index 3e0899d4546..d5c10e77dad 100644 --- a/libstdc++-v3/testsuite/experimental/optional/relops/2.cc +++ b/libstdc++-v3/testsuite/experimental/optional/relops/2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/relops/3.cc b/libstdc++-v3/testsuite/experimental/optional/relops/3.cc index eccc0dc0a91..e1f794d8a7b 100644 --- a/libstdc++-v3/testsuite/experimental/optional/relops/3.cc +++ b/libstdc++-v3/testsuite/experimental/optional/relops/3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/relops/4.cc b/libstdc++-v3/testsuite/experimental/optional/relops/4.cc index f7999091d57..c2b2ce38554 100644 --- a/libstdc++-v3/testsuite/experimental/optional/relops/4.cc +++ b/libstdc++-v3/testsuite/experimental/optional/relops/4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/relops/5.cc b/libstdc++-v3/testsuite/experimental/optional/relops/5.cc index 5c738e0cdb2..e83f792b36b 100644 --- a/libstdc++-v3/testsuite/experimental/optional/relops/5.cc +++ b/libstdc++-v3/testsuite/experimental/optional/relops/5.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/relops/6.cc b/libstdc++-v3/testsuite/experimental/optional/relops/6.cc index f7f0c0c33bc..674c6d69330 100644 --- a/libstdc++-v3/testsuite/experimental/optional/relops/6.cc +++ b/libstdc++-v3/testsuite/experimental/optional/relops/6.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/requirements.cc b/libstdc++-v3/testsuite/experimental/optional/requirements.cc index 01cc55e16ac..450bcea8b84 100644 --- a/libstdc++-v3/testsuite/experimental/optional/requirements.cc +++ b/libstdc++-v3/testsuite/experimental/optional/requirements.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/swap/1.cc b/libstdc++-v3/testsuite/experimental/optional/swap/1.cc index f5490dd67b5..071f38d827c 100644 --- a/libstdc++-v3/testsuite/experimental/optional/swap/1.cc +++ b/libstdc++-v3/testsuite/experimental/optional/swap/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/typedefs.cc b/libstdc++-v3/testsuite/experimental/optional/typedefs.cc index 70b719a0b1d..477959e80f7 100644 --- a/libstdc++-v3/testsuite/experimental/optional/typedefs.cc +++ b/libstdc++-v3/testsuite/experimental/optional/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/assignment/copy.cc b/libstdc++-v3/testsuite/experimental/propagate_const/assignment/copy.cc index 054bf4568ce..108d2696629 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/assignment/copy.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/assignment/copy.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move.cc b/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move.cc index c9721396559..cddd5803c86 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move_neg.cc b/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move_neg.cc index 5ed65d62ca0..ebc9ae011b5 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move_neg.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/cons/copy.cc b/libstdc++-v3/testsuite/experimental/propagate_const/cons/copy.cc index 8925b513486..141d0dd8336 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/cons/copy.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/cons/copy.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/cons/default.cc b/libstdc++-v3/testsuite/experimental/propagate_const/cons/default.cc index ed597fb2cfa..5bddc3be521 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/cons/default.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/cons/default.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/cons/move.cc b/libstdc++-v3/testsuite/experimental/propagate_const/cons/move.cc index 4acc823a7fe..f9348d9d3ed 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/cons/move.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/cons/move.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/cons/move_neg.cc b/libstdc++-v3/testsuite/experimental/propagate_const/cons/move_neg.cc index 8b3a81b237f..4bba8cdc0e5 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/cons/move_neg.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/cons/move_neg.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/hash/1.cc b/libstdc++-v3/testsuite/experimental/propagate_const/hash/1.cc index 164f998f63c..e708558135e 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/hash/1.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/hash/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/observers/1.cc b/libstdc++-v3/testsuite/experimental/propagate_const/observers/1.cc index 6286d23bfc7..b4eac5fa541 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/observers/1.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/observers/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/relops/1.cc b/libstdc++-v3/testsuite/experimental/propagate_const/relops/1.cc index d8d8a62af78..f9b654dce70 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/relops/1.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/relops/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/requirements1.cc b/libstdc++-v3/testsuite/experimental/propagate_const/requirements1.cc index 8366ea37828..fe85b86ab88 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/requirements1.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/requirements1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/requirements2.cc b/libstdc++-v3/testsuite/experimental/propagate_const/requirements2.cc index 8f85891beac..091a0e1c780 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/requirements2.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/requirements2.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc b/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc index 49a6f9fda5d..156171b73ea 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/requirements4.cc b/libstdc++-v3/testsuite/experimental/propagate_const/requirements4.cc index 92fac6e20d9..682355f4f62 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/requirements4.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/requirements4.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/requirements5.cc b/libstdc++-v3/testsuite/experimental/propagate_const/requirements5.cc index 84395cd03fc..67e92b4e86e 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/requirements5.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/requirements5.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/swap/1.cc b/libstdc++-v3/testsuite/experimental/propagate_const/swap/1.cc index 659da0c7a13..ede1c24139c 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/swap/1.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/swap/1.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/typedefs.cc b/libstdc++-v3/testsuite/experimental/propagate_const/typedefs.cc index b9bc13cfd3e..01266c33d9c 100644 --- a/libstdc++-v3/testsuite/experimental/propagate_const/typedefs.cc +++ b/libstdc++-v3/testsuite/experimental/propagate_const/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/random/randint.cc b/libstdc++-v3/testsuite/experimental/random/randint.cc index 037609c210b..6cf74229f04 100644 --- a/libstdc++-v3/testsuite/experimental/random/randint.cc +++ b/libstdc++-v3/testsuite/experimental/random/randint.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // { dg-require-effective-target tls_runtime } // { dg-add-options tls } diff --git a/libstdc++-v3/testsuite/experimental/set/erasure.cc b/libstdc++-v3/testsuite/experimental/set/erasure.cc index 6133de0ad52..82113da5c68 100644 --- a/libstdc++-v3/testsuite/experimental/set/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/set/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string/erasure.cc b/libstdc++-v3/testsuite/experimental/string/erasure.cc index 0300592195f..2709a3524e8 100644 --- a/libstdc++-v3/testsuite/experimental/string/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/string/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc b/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc index 0a24d90a80a..47ccf9f6c65 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/cons/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/cons/char/1.cc index 0a4712c05da..6a48c5b2e41 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/cons/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/cons/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/cons/char/2.cc b/libstdc++-v3/testsuite/experimental/string_view/cons/char/2.cc index 4c68027a335..0ff8d5306ec 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/cons/char/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/cons/char/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/cons/char/3.cc b/libstdc++-v3/testsuite/experimental/string_view/cons/char/3.cc index e8450f6a370..d35d8fb81ba 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/cons/char/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/cons/char/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/1.cc index 20e9567d84e..4876d1d2985 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/2.cc b/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/2.cc index f46da5d7508..0625afdbf20 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/3.cc b/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/3.cc index b68a35a42e6..bfd3c614e6a 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/cons/wchar_t/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/1.cc index 59402b1ebf9..848d8a37fb1 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/2.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/2.cc index 602a2481b3f..6eb9f1682d0 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/2.cc @@ -1,5 +1,5 @@ -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++14 -O0" } +// { dg-do run { target c++14 xfail *-*-* } } +// { dg-options "-O0" } // { dg-require-debug-mode "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/empty.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/empty.cc index ae6584fea47..9960edbfe4c 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/empty.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/empty.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 3 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/front_back.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/front_back.cc index 4fe157f326c..da97523ec38 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/char/front_back.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/char/front_back.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // { dg-require-string-conversions "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/1.cc index 9ef22f6792a..419a6112947 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/2.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/2.cc index 8d4a75cefde..b36c02b14ac 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/2.cc @@ -1,5 +1,5 @@ -// { dg-do run { xfail *-*-* } } -// { dg-options "-std=gnu++14 -O0" } +// { dg-do run { target c++14 xfail *-*-* } } +// { dg-options "-O0" } // { dg-require-debug-mode "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/empty.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/empty.cc index 07063e88acc..9e74e6983f7 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/empty.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/empty.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/front_back.cc b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/front_back.cc index 40e021588b6..bcd97983f19 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/front_back.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/element_access/wchar_t/front_back.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // { dg-require-string-conversions "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/string_view/include.cc b/libstdc++-v3/testsuite/experimental/string_view/include.cc index 0f78764a400..f0cf5b9010e 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/include.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/include.cc @@ -19,7 +19,7 @@ // NB: This issue affected only debug-mode. -// { dg-options "-std=gnu++14 -fno-rtti" } -// { dg-do compile } +// { dg-options "-fno-rtti" } +// { dg-do compile { target c++14 } } #include diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/char/1.cc index 888d7936cb5..31830b504b5 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/char/2.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/char/2.cc index e6f25ec5612..c642af43686 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/char/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/char/2.cc @@ -1,4 +1,3 @@ - // Copyright (C) 2013-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -22,7 +21,7 @@ // working, not to mention other major details like char_traits, and // all of the string_view class. -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // { dg-require-fileio "" } #include diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/char/3.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/char/3.cc index b2600ac4454..b85463c0e4d 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/char/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/char/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/pod/10081-out.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/pod/10081-out.cc index 304aeb37734..4156ec8b4fb 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/pod/10081-out.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/pod/10081-out.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/1.cc index f621c3fd09a..a07f57ae1ba 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc index ffac2c708a9..0f2b7798a9d 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/3.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/3.cc index 0bca1bad948..317b026282b 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/literals/types.cc b/libstdc++-v3/testsuite/experimental/string_view/literals/types.cc index 7b663ce7726..8fe09543742 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/literals/types.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/literals/types.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/literals/values.cc b/libstdc++-v3/testsuite/experimental/string_view/literals/values.cc index 1088b758e97..19c64abdc1b 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/literals/values.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/literals/values.cc @@ -1,5 +1,4 @@ -// { dg-do run } -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/char/1.cc index 177c5b91c0c..7de8c3d8de3 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/1.cc index aae2ce0ac22..cdd0357aaf2 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/char/1.cc index a2bd7d26834..5a439f749b9 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/1.cc index b1967605f31..eed241577a2 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/1.cc index e4d733fe6f1..daf764b9c57 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/13650.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/13650.cc index e5d1a648683..16b0ba7e86a 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/13650.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/13650.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/1.cc index b22865fde78..11a23d6e66d 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/13650.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/13650.cc index b68dbc33c6d..270fc453dfb 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/13650.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/compare/wchar_t/13650.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/copy/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/copy/char/1.cc index 5deeebd4fe8..80c3c1ca85f 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/copy/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/copy/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/copy/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/copy/wchar_t/1.cc index a2eef76359c..c453faa887f 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/copy/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/copy/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/data/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/data/char/1.cc index 6abd0cf4db9..d40d16d921f 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/data/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/data/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2014 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/data/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/data/wchar_t/1.cc index a2f8a817fa5..1ae76d0dcf3 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/data/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/data/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2014 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/1.cc index 31f04953989..439af60b724 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/2.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/2.cc index a743d1e4da2..f5341676c81 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/3.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/3.cc index 0e7d3450504..bfc12b17328 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/4.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/4.cc index bbb59d484d0..f497fb28036 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/4.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/char/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/1.cc index a89c6ceaa5e..2ca16ef24c3 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/2.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/2.cc index 411063ada49..38eb3c20e6a 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/3.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/3.cc index 1656c87d2e9..d9a7e679445 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/4.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/4.cc index e98308ca8a3..0a4eb9ff2c9 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/4.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/1.cc index c6cf3b675a5..c94b1f5296a 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/2.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/2.cc index 390d33ffaf2..30ff7e8ec29 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/3.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/3.cc index ffa32af4be2..3199b2d3fbd 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/char/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/1.cc index 394208bcfeb..4bf5cb583bd 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/2.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/2.cc index 419ccf3dda3..5e9fab07742 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc index 5fa20d86b98..778d9de3ff8 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/substr/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/substr/char/1.cc index 5ad159945b5..69452c8962a 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/substr/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/substr/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/substr/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/substr/wchar_t/1.cc index 9445342e49a..31f366864b7 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/substr/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/substr/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operations/to_string/1.cc b/libstdc++-v3/testsuite/experimental/string_view/operations/to_string/1.cc index 9cebc3a2530..2c8c4882c04 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operations/to_string/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operations/to_string/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operators/char/2.cc b/libstdc++-v3/testsuite/experimental/string_view/operators/char/2.cc index f6b8aa48d41..eda2fa4bfa6 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operators/char/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operators/char/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/operators/wchar_t/2.cc b/libstdc++-v3/testsuite/experimental/string_view/operators/wchar_t/2.cc index 79e4c9353d5..2c6addfedb0 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/operators/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/operators/wchar_t/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/range_access/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/range_access/char/1.cc index 2b1770af741..eef89ab40ef 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/range_access/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/range_access/char/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/range_access/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/range_access/wchar_t/1.cc index a2aabcca8a7..62dfa70ad0e 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/range_access/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/range_access/wchar_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/1.cc index 05db2223e5c..9c572aea0b0 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/1.cc @@ -20,7 +20,6 @@ #include -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } template class std::experimental::basic_string_view>; diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char/1.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char/1.cc index b5ba8ff0a58..9b970ab849b 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc index 9a177e300e8..d32e150676b 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // { dg-require-cstdint "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc index d1cff5cfe03..05d367feddf 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // { dg-require-cstdint "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/wchar_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/wchar_t/1.cc index be0a8b9f447..9762b802062 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/wchar_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++14" } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/typedefs.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/typedefs.cc index cb28c5443ef..106ad6cf67a 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/typedefs.cc @@ -1,6 +1,4 @@ - -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc b/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc index f5d5cf01b1a..cf9836f8472 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/types/1.cc b/libstdc++-v3/testsuite/experimental/string_view/types/1.cc index 970431e8fa0..c0c7fefa0d2 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/types/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/types/1.cc @@ -1,4 +1,3 @@ -// // Copyright (C) 2013-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -17,8 +16,7 @@ // . // -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } #include diff --git a/libstdc++-v3/testsuite/experimental/system_error/value.cc b/libstdc++-v3/testsuite/experimental/system_error/value.cc index 3b346ce95fb..6cbc0a1fb56 100644 --- a/libstdc++-v3/testsuite/experimental/system_error/value.cc +++ b/libstdc++-v3/testsuite/experimental/system_error/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/tuple/apply.cc b/libstdc++-v3/testsuite/experimental/tuple/apply.cc index c69e119ec86..8010f09bb65 100644 --- a/libstdc++-v3/testsuite/experimental/tuple/apply.cc +++ b/libstdc++-v3/testsuite/experimental/tuple/apply.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/tuple/tuple_size.cc b/libstdc++-v3/testsuite/experimental/tuple/tuple_size.cc index e9a49ea037b..48a187158e3 100644 --- a/libstdc++-v3/testsuite/experimental/tuple/tuple_size.cc +++ b/libstdc++-v3/testsuite/experimental/tuple/tuple_size.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/type_erased_allocator/2.cc b/libstdc++-v3/testsuite/experimental/type_erased_allocator/2.cc index 4460498c2e3..216a88ca629 100644 --- a/libstdc++-v3/testsuite/experimental/type_erased_allocator/2.cc +++ b/libstdc++-v3/testsuite/experimental/type_erased_allocator/2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++14" } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/type_erased_allocator/uses_allocator.cc b/libstdc++-v3/testsuite/experimental/type_erased_allocator/uses_allocator.cc index 1d4ba1e09bb..d3d53ee566a 100644 --- a/libstdc++-v3/testsuite/experimental/type_erased_allocator/uses_allocator.cc +++ b/libstdc++-v3/testsuite/experimental/type_erased_allocator/uses_allocator.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/type_traits/detection.cc b/libstdc++-v3/testsuite/experimental/type_traits/detection.cc index 8fb5e0acf0e..f505d74d264 100644 --- a/libstdc++-v3/testsuite/experimental/type_traits/detection.cc +++ b/libstdc++-v3/testsuite/experimental/type_traits/detection.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } #include diff --git a/libstdc++-v3/testsuite/experimental/type_traits/value.cc b/libstdc++-v3/testsuite/experimental/type_traits/value.cc index 6a7a95dc5e1..0700f92ad6a 100644 --- a/libstdc++-v3/testsuite/experimental/type_traits/value.cc +++ b/libstdc++-v3/testsuite/experimental/type_traits/value.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do compile { target c++14 } } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/unordered_map/erasure.cc b/libstdc++-v3/testsuite/experimental/unordered_map/erasure.cc index 5322328e2ea..04ec5e18942 100644 --- a/libstdc++-v3/testsuite/experimental/unordered_map/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/unordered_map/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/unordered_set/erasure.cc b/libstdc++-v3/testsuite/experimental/unordered_set/erasure.cc index 80b0c5e6abe..df2c11a661b 100644 --- a/libstdc++-v3/testsuite/experimental/unordered_set/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/unordered_set/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/vector/erasure.cc b/libstdc++-v3/testsuite/experimental/vector/erasure.cc index 973604fc158..82359614b83 100644 --- a/libstdc++-v3/testsuite/experimental/vector/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/vector/erasure.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do run } +// { dg-do run { target c++14 } } // Copyright (C) 2015-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/array_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/array_allocator/variadic_construct.cc index 3f5d413c747..86ee8e5979c 100644 --- a/libstdc++-v3/testsuite/ext/array_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/array_allocator/variadic_construct.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -Wno-deprecated" } +// { dg-do run { target c++11 } } +// { dg-options "-Wno-deprecated" } // 2007-10-27 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/variadic_construct.cc index 999957888fd..0f608884096 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/variadic_construct.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/iota/cxx0x.cc b/libstdc++-v3/testsuite/ext/iota/cxx0x.cc index 1a1be5ca2a3..38f595fd900 100644 --- a/libstdc++-v3/testsuite/ext/iota/cxx0x.cc +++ b/libstdc++-v3/testsuite/ext/iota/cxx0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/is_heap/47709.cc b/libstdc++-v3/testsuite/ext/is_heap/47709.cc index eecb1f07281..033260afba2 100644 --- a/libstdc++-v3/testsuite/ext/is_heap/47709.cc +++ b/libstdc++-v3/testsuite/ext/is_heap/47709.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/is_sorted/cxx0x.cc b/libstdc++-v3/testsuite/ext/is_sorted/cxx0x.cc index 494eefe5fb4..a5272870006 100644 --- a/libstdc++-v3/testsuite/ext/is_sorted/cxx0x.cc +++ b/libstdc++-v3/testsuite/ext/is_sorted/cxx0x.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/malloc_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/malloc_allocator/variadic_construct.cc index f1f7eddb052..fd5050aab66 100644 --- a/libstdc++-v3/testsuite/ext/malloc_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/malloc_allocator/variadic_construct.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/mt_allocator/variadic_construct.cc index 7ffd83c06bc..b9bb5b4c958 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/variadic_construct.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/new_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/new_allocator/variadic_construct.cc index c1a2069a2fe..694e58a436f 100644 --- a/libstdc++-v3/testsuite/ext/new_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/new_allocator/variadic_construct.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/pool_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/pool_allocator/variadic_construct.cc index 1598513f350..cbcba3efa5c 100644 --- a/libstdc++-v3/testsuite/ext/pool_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/pool_allocator/variadic_construct.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/default.cc index 9ad58f52714..8b1627a6278 100644 --- a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/parms.cc index 35d5b6d6011..723c1366eb2 100644 --- a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/equal.cc index 654304d8216..090944bf594 100644 --- a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/inequal.cc index d8017e9308f..4305813ff45 100644 --- a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/serialize.cc index cb96587040d..00fd52fd3b8 100644 --- a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/explicit_instantiation/1.cc index cb25108b2ae..f7fd4ed5194 100644 --- a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/typedefs.cc index d13043ebf12..7bd61cab603 100644 --- a/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/arcsine_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc index 62b1306097b..505f544493b 100644 --- a/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/parms.cc index 4ba5ddb37cb..d3b91149fe0 100644 --- a/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/equal.cc index 56e1438e9f8..cae66984414 100644 --- a/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/inequal.cc index 2092222e20f..6bcabcf1865 100644 --- a/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/serialize.cc index 6d6a569341a..60e6ae68e15 100644 --- a/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/beta_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/explicit_instantiation/1.cc index 0f9752ea3d2..55438054fde 100644 --- a/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/typedefs.cc index 4be81bffda6..f74b2577c46 100644 --- a/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/beta_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/default.cc index d79ce3f15fd..938bbef5ed6 100644 --- a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/parms.cc index 650289788b7..fd50f432cab 100644 --- a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/equal.cc index 528558724ac..95bb1871b09 100644 --- a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/inequal.cc index 3d1cf12485d..daafddd15d8 100644 --- a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/serialize.cc index c0f97cb851d..a9bd760b380 100644 --- a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/explicit_instantiation/1.cc index 2e2fc23037f..1a4600e48ec 100644 --- a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/typedefs.cc index f7834b303a9..d0c13f8b026 100644 --- a/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/hoyt_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2012-10-12 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/default.cc index 29ea58a73ec..f7a23dcad85 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2013-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/parms.cc index 1530013a48a..2cd5ebeadf2 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2013-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/equal.cc index 999aca4d2f5..55b798700b5 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2013-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/inequal.cc index a79511e0d6e..16a6bf646ad 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2013-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/serialize.cc index 0aafdde611c..14b785ce532 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2013-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc index 0828e0c8917..06528f904f6 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } // diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/pr60037.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/pr60037.cc index d3088a6ec38..1d38a2a6f5f 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/pr60037.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/pr60037.cc @@ -1,4 +1,5 @@ -// { dg-options "-std=gnu++11 -O0" } +// { dg-options "-O0" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-cmath "" } diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/explicit_instantiation/1.cc index 693c8f53d4e..d875e8d7d69 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/typedefs.cc index 6ca63cf9b4e..d4ae6e6e8b0 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2013-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/k_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/k_distribution/cons/default.cc index 755a83ce94c..a7ec6608a68 100644 --- a/libstdc++-v3/testsuite/ext/random/k_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/k_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/k_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/k_distribution/cons/parms.cc index 6e5ca51417d..beb87be3798 100644 --- a/libstdc++-v3/testsuite/ext/random/k_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/k_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/k_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/k_distribution/operators/equal.cc index 2cfdf7a43a7..e42361f31d5 100644 --- a/libstdc++-v3/testsuite/ext/random/k_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/k_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/k_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/k_distribution/operators/inequal.cc index 52e973ae8a6..06ae178e4a7 100644 --- a/libstdc++-v3/testsuite/ext/random/k_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/k_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/k_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/k_distribution/operators/serialize.cc index e06903297f4..bc518e8f53d 100644 --- a/libstdc++-v3/testsuite/ext/random/k_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/k_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/explicit_instantiation/1.cc index 8c88b674ad5..ff0a292d84f 100644 --- a/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/typedefs.cc index bbeb00ef748..fd32c4ac3a3 100644 --- a/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/k_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/default.cc index edf0c86e7a8..7f153aa96b1 100644 --- a/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-07-11 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/parms.cc index a82d0bf5d1f..7531ed5e7f4 100644 --- a/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-07-11 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/equal.cc index 0f190f2a830..1248632a255 100644 --- a/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-07-11 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/inequal.cc index e5cc8e99709..a8794c90422 100644 --- a/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-07-11 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/serialize.cc index f9cc2c5e2c8..a3acbf254d5 100644 --- a/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/logistic_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-07-11 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/logistic_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/logistic_distribution/requirements/typedefs.cc index 81f888d1f2b..d50ab23722e 100644 --- a/libstdc++-v3/testsuite/ext/random/logistic_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/logistic_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2014-07-11 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/default.cc index 8b01bfcb6f5..4877abca5da 100644 --- a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/parms.cc index 59dfeff2720..94727d844d2 100644 --- a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/equal.cc index 67f34903445..60f6552d276 100644 --- a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/inequal.cc index 1eb00b87f15..3fa865fe4f7 100644 --- a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/serialize.cc index 980aa0ce42e..27e2ec4e20e 100644 --- a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/explicit_instantiation/1.cc index 888a9d0435e..be0e1397c09 100644 --- a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/typedefs.cc index 72a84b8d221..ae86c646501 100644 --- a/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/nakagami_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/default.cc index 70514f64c9f..e78e85b4f8c 100644 --- a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/parms.cc index 0a34429be00..b9d3166288e 100644 --- a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/equal.cc index d6d6439d3ff..1196eedb67c 100644 --- a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/inequal.cc index efa1c32f741..ac154dd804b 100644 --- a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/serialize.cc index e4e722e6339..f06991a20ed 100644 --- a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/explicit_instantiation/1.cc index 683610b7d04..7493c875004 100644 --- a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/typedefs.cc index fce460371d5..3bdf692fee2 100644 --- a/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/normal_mv_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/default.cc index b8178245940..d5359e6bb07 100644 --- a/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-21 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/parms.cc index acac5a24178..ef25dc8c654 100644 --- a/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-21 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/equal.cc index f8fa87dfb5b..7a9d29b8b6a 100644 --- a/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-21 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/inequal.cc index 18c80b0253c..df6fda02552 100644 --- a/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-21 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/serialize.cc index 5fd1e20d91d..2485889d7e2 100644 --- a/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/pareto_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-21 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/explicit_instantiation/1.cc index 1c4f1ddc2ca..afbb7f95543 100644 --- a/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/typedefs.cc index 0b4fa6f307b..deec53c2f84 100644 --- a/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/pareto_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2012-09-21 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/default.cc index fd552c84c12..72bf5c03f1c 100644 --- a/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-01-28 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/parms.cc index ca94c149c3c..8636cbef1e5 100644 --- a/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/rice_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-01-28 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/equal.cc index 848edf163ec..b7ab05d4aa5 100644 --- a/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-01-28 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/inequal.cc index 41829d20ca0..f2c4c830d08 100644 --- a/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-01-28 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/serialize.cc index 7c3d15f07a2..53a40048b41 100644 --- a/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/rice_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2012-01-28 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/explicit_instantiation/1.cc index e1be959dad3..777617db661 100644 --- a/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2012-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/typedefs.cc index aa14820a5ac..461ff0fb8d0 100644 --- a/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/rice_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2012-01-28 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/copy.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/copy.cc index d94a6468e7e..1b14a1acb49 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/copy.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/copy.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/default.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/default.cc index 3ac8d4db061..82bbd8d9409 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed1.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed1.cc index b6ce5dcb618..1e85c48ea67 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed1.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed2.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed2.cc index 981fa2a1a8c..201d8bef81d 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed2.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed_seq.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed_seq.cc index 94e00defff2..7af805f3d5f 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed_seq.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/seed_seq.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/equal.cc index e917f1eff45..b1beb4572eb 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/inequal.cc index 1cb84012e05..86b7e303991 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/serialize.cc index 9c33cfb4a56..12efd7a9fab 100644 --- a/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // { dg-require-little-endian "" } // diff --git a/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/default.cc index ae3897270a6..f860532246c 100644 --- a/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/parms.cc index 58174ae317d..57d613a114b 100644 --- a/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/equal.cc index 1bad333ad89..d57f73c2a56 100644 --- a/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/inequal.cc index 5b2a0549090..19f36bc8d4f 100644 --- a/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/serialize.cc index b6949147a54..7e75b01a6b7 100644 --- a/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/explicit_instantiation/1.cc index 545bca22bde..eb874b0c8ed 100644 --- a/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/typedefs.cc index 07503d36ea0..2669fc1cf60 100644 --- a/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/cons/default.cc index 7e54fbeb1e1..6df971c9e07 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-04-15 Ulrich Drepper diff --git a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/equal.cc index 0d454764088..252c99aa6d9 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-04-15 Ulrich Drepper diff --git a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/generate.cc b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/generate.cc index de77e82bbee..b6fef7cf3ac 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/generate.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/generate.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-08-09 Ulrich Drepper diff --git a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/inequal.cc index 56187e25791..23366dde766 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-04-15 Ulrich Drepper diff --git a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/serialize.cc index 3f5005be9c6..67265366dbe 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2014-04-15 Ulrich Drepper diff --git a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/default.cc index 48d82b6652b..141e6faf5b0 100644 --- a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/parms.cc index 41dca9cace9..b5657370c18 100644 --- a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/equal.cc index f2ea9718d20..88c26af2852 100644 --- a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/inequal.cc index f1864c3b8e5..997813ab846 100644 --- a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2010-03-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/serialize.cc index 51278536d3c..155bff613c9 100644 --- a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // 2009-08-14 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/explicit_instantiation/1.cc b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/explicit_instantiation/1.cc index 507955e7b57..2ec4560ca1d 100644 --- a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/explicit_instantiation/1.cc +++ b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/explicit_instantiation/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/typedefs.cc index f4119b0f87b..3415c3b2e5f 100644 --- a/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> diff --git a/libstdc++-v3/testsuite/ext/rope/40299.cc b/libstdc++-v3/testsuite/ext/rope/40299.cc index 19b794d376a..ebd46a4f26a 100644 --- a/libstdc++-v3/testsuite/ext/rope/40299.cc +++ b/libstdc++-v3/testsuite/ext/rope/40299.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/rope/44708.cc b/libstdc++-v3/testsuite/ext/rope/44708.cc index 037200ecc56..4d3d9db5735 100644 --- a/libstdc++-v3/testsuite/ext/rope/44708.cc +++ b/libstdc++-v3/testsuite/ext/rope/44708.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/rope/44963.cc b/libstdc++-v3/testsuite/ext/rope/44963.cc index 494db3410b4..2bee8930697 100644 --- a/libstdc++-v3/testsuite/ext/rope/44963.cc +++ b/libstdc++-v3/testsuite/ext/rope/44963.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc index 0b23485b6a5..438f2b17827 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2007-10-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/throw_value/cons.cc b/libstdc++-v3/testsuite/ext/throw_value/cons.cc index 6f1dabce787..04ff9cefdec 100644 --- a/libstdc++-v3/testsuite/ext/throw_value/cons.cc +++ b/libstdc++-v3/testsuite/ext/throw_value/cons.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/capacity/shrink_to_fit.cc b/libstdc++-v3/testsuite/ext/vstring/capacity/shrink_to_fit.cc index de638c821e6..5d0b6120fb3 100644 --- a/libstdc++-v3/testsuite/ext/vstring/capacity/shrink_to_fit.cc +++ b/libstdc++-v3/testsuite/ext/vstring/capacity/shrink_to_fit.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2010-01-08 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/vstring/cons/58415-1.cc b/libstdc++-v3/testsuite/ext/vstring/cons/58415-1.cc index 4206bf3f4cf..e820382a165 100644 --- a/libstdc++-v3/testsuite/ext/vstring/cons/58415-1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/cons/58415-1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/vstring/cons/58415-2.cc b/libstdc++-v3/testsuite/ext/vstring/cons/58415-2.cc index f602ed53542..c37ce025117 100644 --- a/libstdc++-v3/testsuite/ext/vstring/cons/58415-2.cc +++ b/libstdc++-v3/testsuite/ext/vstring/cons/58415-2.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2013-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/vstring/cons/moveable.cc b/libstdc++-v3/testsuite/ext/vstring/cons/moveable.cc index a49b9db2f44..ed645f522de 100644 --- a/libstdc++-v3/testsuite/ext/vstring/cons/moveable.cc +++ b/libstdc++-v3/testsuite/ext/vstring/cons/moveable.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2007-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/vstring/cons/noexcept_move_construct.cc b/libstdc++-v3/testsuite/ext/vstring/cons/noexcept_move_construct.cc index d47083ceb79..836099dd555 100644 --- a/libstdc++-v3/testsuite/ext/vstring/cons/noexcept_move_construct.cc +++ b/libstdc++-v3/testsuite/ext/vstring/cons/noexcept_move_construct.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // 2011-06-01 Paolo Carlini // diff --git a/libstdc++-v3/testsuite/ext/vstring/element_access/char/58163.cc b/libstdc++-v3/testsuite/ext/vstring/element_access/char/58163.cc index 913fb7e06a4..39daf7cba31 100644 --- a/libstdc++-v3/testsuite/ext/vstring/element_access/char/58163.cc +++ b/libstdc++-v3/testsuite/ext/vstring/element_access/char/58163.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG_PEDANTIC" } +// { dg-do run { target c++11 } } +// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/ext/vstring/element_access/char/front_back.cc b/libstdc++-v3/testsuite/ext/vstring/element_access/char/front_back.cc index 8a769cab712..16ab94d207d 100644 --- a/libstdc++-v3/testsuite/ext/vstring/element_access/char/front_back.cc +++ b/libstdc++-v3/testsuite/ext/vstring/element_access/char/front_back.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2007-10-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/58163.cc b/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/58163.cc index 4174dbf222a..75da0a80a4b 100644 --- a/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/58163.cc +++ b/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/58163.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11 -D_GLIBCXX_DEBUG_PEDANTIC" } +// { dg-do run { target c++11 } } +// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/front_back.cc b/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/front_back.cc index adb1c020d25..4ac4a145725 100644 --- a/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/front_back.cc +++ b/libstdc++-v3/testsuite/ext/vstring/element_access/wchar_t/front_back.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2007-10-16 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/vstring/hash/char/1.cc b/libstdc++-v3/testsuite/ext/vstring/hash/char/1.cc index 26c93d8205e..acbf36d0118 100644 --- a/libstdc++-v3/testsuite/ext/vstring/hash/char/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/hash/char/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/vstring/hash/wchar_t/1.cc b/libstdc++-v3/testsuite/ext/vstring/hash/wchar_t/1.cc index fc4b74244fe..6856451aac0 100644 --- a/libstdc++-v3/testsuite/ext/vstring/hash/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/hash/wchar_t/1.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/vstring/init-list.cc b/libstdc++-v3/testsuite/ext/vstring/init-list.cc index 5ce739d96f5..1318ffe2edb 100644 --- a/libstdc++-v3/testsuite/ext/vstring/init-list.cc +++ b/libstdc++-v3/testsuite/ext/vstring/init-list.cc @@ -16,7 +16,7 @@ // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/assign/move_assign.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/assign/move_assign.cc index 247fb6b8423..fd09f3b6bd4 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/assign/move_assign.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/assign/move_assign.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // Copyright (C) 2010-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/char/54577.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/char/54577.cc index d85445b0872..3642019ec85 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/char/54577.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/char/54577.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/wchar_t/54577.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/wchar_t/54577.cc index b48d04d82df..dc83391d4fe 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/wchar_t/54577.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/erase/wchar_t/54577.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc index f701b574d0d..785abb326ce 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc index 19bf90167e5..cd111851f4c 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/char/1.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/char/1.cc index 7eef389094d..d1ceb5b8d17 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/char/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/char/1.cc @@ -16,7 +16,7 @@ // . // 21.4.6.5 basic_string::pop_back -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/wchar_t/1.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/wchar_t/1.cc index 1da0c5e4825..a4716df1d49 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/pop_back/wchar_t/1.cc @@ -16,7 +16,7 @@ // . // 21.4.6.5 basic_string::pop_back -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc index 09b89e0f611..50758bcb1f4 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc b/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc index 4df1db64c20..3782a7a56ba 100644 --- a/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc +++ b/libstdc++-v3/testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2013-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/operators/1.cc b/libstdc++-v3/testsuite/ext/vstring/operators/1.cc index 958e16bb473..af403b74a45 100644 --- a/libstdc++-v3/testsuite/ext/vstring/operators/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/operators/1.cc @@ -17,7 +17,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/ext/vstring/operators/2.cc b/libstdc++-v3/testsuite/ext/vstring/operators/2.cc index cde0e7ff1d2..72127563c63 100644 --- a/libstdc++-v3/testsuite/ext/vstring/operators/2.cc +++ b/libstdc++-v3/testsuite/ext/vstring/operators/2.cc @@ -17,7 +17,7 @@ // with this library; see the file COPYING3. If not see // . // -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } #include diff --git a/libstdc++-v3/testsuite/ext/vstring/range_access.cc b/libstdc++-v3/testsuite/ext/vstring/range_access.cc index a86b98040dd..f90ea1d3bd4 100644 --- a/libstdc++-v3/testsuite/ext/vstring/range_access.cc +++ b/libstdc++-v3/testsuite/ext/vstring/range_access.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2010-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/citerators.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/citerators.cc index fb7ccc6ce37..7f9a8b6c564 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/citerators.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/citerators.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-string-conversions "" } // 2007-10-15 Paolo Carlini diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/do_the_right_thing.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/do_the_right_thing.cc index 45320b6729f..04d8b1a285d 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/do_the_right_thing.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/do_the_right_thing.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/exception/basic.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/exception/basic.cc index a4f67a8194f..44cde5fafe1 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/exception/basic.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/exception/basic.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-11-10 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/exception/generation_prohibited.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/exception/generation_prohibited.cc index 802606fa599..31b8ac9847b 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/exception/generation_prohibited.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/exception/generation_prohibited.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-14 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/exception/propagation_consistent.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/exception/propagation_consistent.cc index 026b04d5e58..589ae24a86a 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/exception/propagation_consistent.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/exception/propagation_consistent.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // 2009-09-14 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc index 9debd29c305..1d94cc76bcb 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-string-conversions "" } diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc index 0b2a8a651aa..177f2c1def2 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } // { dg-require-string-conversions "" } diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/typedefs.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/typedefs.cc index df37d8d80b3..92d02b74227 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/typedefs.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++11" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Copyright (C) 2009-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/48362.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/48362.cc index 9851f4f73f1..e9cac87cc52 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/48362.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/48362.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-g -std=gnu++11 -O0" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc index 3bfe53b9f5b..780a4e43879 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-std=gnu++11 -g -O0" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/libfundts.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/libfundts.cc index dc852c584c8..534c55f0509 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/libfundts.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/libfundts.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-g -O0 -std=gnu++14" } +// { dg-do run { target c++14 } } +// { dg-options "-g -O0" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc index 013bc0d5096..95288602549 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-std=gnu++11 -g -O0" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2012-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc index 86a3de5d1a8..97a57efba3d 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc @@ -1,7 +1,7 @@ // If you modify this, please update simple.cc and debug.cc as well. -// { dg-do run } -// { dg-options "-g -O0 -std=gnu++11" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc index f223d5253f7..3f79f92dff1 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-g -O0 -std=gnu++11" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc index ce25c615d74..e845ab8c0b8 100644 --- a/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc +++ b/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-std=gnu++11 -g -O0" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc index b09a6ce64bd..6cfe215c787 100644 --- a/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc +++ b/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-std=gnu++11 -g -O0" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc index 3466b3b9fc1..561c491354f 100644 --- a/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc +++ b/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-std=gnu++11 -g -O0" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc b/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc index 11d172b3021..bb303a2c665 100644 --- a/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc +++ b/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc @@ -1,5 +1,5 @@ -// { dg-do run } -// { dg-options "-std=gnu++11 -g -O0" } +// { dg-do run { target c++11 } } +// { dg-options "-g -O0" } // Copyright (C) 2014-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/performance/23_containers/copy_construct/unordered_set.cc b/libstdc++-v3/testsuite/performance/23_containers/copy_construct/unordered_set.cc index c5feb2b2119..a5d9d3fa1b9 100644 --- a/libstdc++-v3/testsuite/performance/23_containers/copy_construct/unordered_set.cc +++ b/libstdc++-v3/testsuite/performance/23_containers/copy_construct/unordered_set.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { 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 diff --git a/libstdc++-v3/testsuite/performance/23_containers/insert/54075.cc b/libstdc++-v3/testsuite/performance/23_containers/insert/54075.cc index 784ac71ec15..6078144eacb 100644 --- a/libstdc++-v3/testsuite/performance/23_containers/insert/54075.cc +++ b/libstdc++-v3/testsuite/performance/23_containers/insert/54075.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_multiset_hint.cc b/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_multiset_hint.cc index 6638089a25c..be424744311 100644 --- a/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_multiset_hint.cc +++ b/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_multiset_hint.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_set.cc b/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_set.cc index 2c3d5650d64..7185fd3aa4a 100644 --- a/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_set.cc +++ b/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_set.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } #include #include diff --git a/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc b/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc index 44781d2fdd7..eb8a99acbce 100644 --- a/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc +++ b/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/tr1/3_function_objects/bind/cv_quals.cc b/libstdc++-v3/testsuite/tr1/3_function_objects/bind/cv_quals.cc index 39e4804730c..f3867febb50 100644 --- a/libstdc++-v3/testsuite/tr1/3_function_objects/bind/cv_quals.cc +++ b/libstdc++-v3/testsuite/tr1/3_function_objects/bind/cv_quals.cc @@ -15,8 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do compile } -// { dg-options "-std=gnu++11" } +// { dg-do compile { target c++11 } } #include diff --git a/libstdc++-v3/testsuite/tr1/3_function_objects/bind/mixed.cc b/libstdc++-v3/testsuite/tr1/3_function_objects/bind/mixed.cc index 063167c6f85..4d0a33bcc45 100644 --- a/libstdc++-v3/testsuite/tr1/3_function_objects/bind/mixed.cc +++ b/libstdc++-v3/testsuite/tr1/3_function_objects/bind/mixed.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2011-11-20 Jonathan Wakely // // Copyright (C) 2011-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/51083.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/51083.cc index 5a18aa4a377..d2af2f86544 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/51083.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/51083.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/51083.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/51083.cc index 2081b725aa3..398ffbfdc9a 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/51083.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/51083.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/tr2/bases/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/tr2/bases/requirements/explicit_instantiation.cc index 75319f46bba..1326d20be19 100644 --- a/libstdc++-v3/testsuite/tr2/bases/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/tr2/bases/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/tr2/bases/requirements/typedefs.cc b/libstdc++-v3/testsuite/tr2/bases/requirements/typedefs.cc index 4adbe9fa025..64ae127a11d 100644 --- a/libstdc++-v3/testsuite/tr2/bases/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/tr2/bases/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/tr2/bases/value.cc b/libstdc++-v3/testsuite/tr2/bases/value.cc index 60eaabdf83d..60de61fb65e 100644 --- a/libstdc++-v3/testsuite/tr2/bases/value.cc +++ b/libstdc++-v3/testsuite/tr2/bases/value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/tr2/direct_bases/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/tr2/direct_bases/requirements/explicit_instantiation.cc index 6c80347a671..dca498d56b1 100644 --- a/libstdc++-v3/testsuite/tr2/direct_bases/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/tr2/direct_bases/requirements/explicit_instantiation.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. // diff --git a/libstdc++-v3/testsuite/tr2/direct_bases/requirements/typedefs.cc b/libstdc++-v3/testsuite/tr2/direct_bases/requirements/typedefs.cc index 5b00bd8a616..038c20f0112 100644 --- a/libstdc++-v3/testsuite/tr2/direct_bases/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/tr2/direct_bases/requirements/typedefs.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. // diff --git a/libstdc++-v3/testsuite/tr2/direct_bases/value.cc b/libstdc++-v3/testsuite/tr2/direct_bases/value.cc index 21f4e0a8233..d03da6a71e6 100644 --- a/libstdc++-v3/testsuite/tr2/direct_bases/value.cc +++ b/libstdc++-v3/testsuite/tr2/direct_bases/value.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // // Copyright (C) 2011-2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/tr2/dynamic_bitset/pr58729.cc b/libstdc++-v3/testsuite/tr2/dynamic_bitset/pr58729.cc index 3b4d4ddd3f2..750a63c9a8a 100644 --- a/libstdc++-v3/testsuite/tr2/dynamic_bitset/pr58729.cc +++ b/libstdc++-v3/testsuite/tr2/dynamic_bitset/pr58729.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++11" } +// { dg-do run { target c++11 } } // 2013-10-15 Edward M. Smith-Rowland <3dw4rd@verizon.net> // diff --git a/libstdc++-v3/testsuite/tr2/headers/all.cc b/libstdc++-v3/testsuite/tr2/headers/all.cc index 0d69e287b5c..1c65577a5f7 100644 --- a/libstdc++-v3/testsuite/tr2/headers/all.cc +++ b/libstdc++-v3/testsuite/tr2/headers/all.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. // diff --git a/libstdc++-v3/testsuite/tr2/headers/using_namespace_std_tr2.cc b/libstdc++-v3/testsuite/tr2/headers/using_namespace_std_tr2.cc index 4b194684ff1..aec85a18ef8 100644 --- a/libstdc++-v3/testsuite/tr2/headers/using_namespace_std_tr2.cc +++ b/libstdc++-v3/testsuite/tr2/headers/using_namespace_std_tr2.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. //