Housekeeping for the effective targets of optional's tests.

* testsuite/20_util/optional/77288.cc: Adjust.
* testsuite/20_util/optional/84601.cc: Likewise.
* testsuite/20_util/optional/assignment/1.cc: Likewise.
* testsuite/20_util/optional/assignment/2.cc: Likewise.
* testsuite/20_util/optional/assignment/3.cc: Likewise.
* testsuite/20_util/optional/assignment/4.cc: Likewise.
* testsuite/20_util/optional/assignment/5.cc: Likewise.
* testsuite/20_util/optional/assignment/6.cc: Likewise.
* testsuite/20_util/optional/assignment/7.cc: Likewise.
* testsuite/20_util/optional/assignment/8.cc: Likewise.
* testsuite/20_util/optional/cons/77727.cc: Likewise.
* testsuite/20_util/optional/cons/copy.cc: Likewise.
* testsuite/20_util/optional/cons/deduction.cc: Likewise.
* testsuite/20_util/optional/cons/default.cc: Likewise.
* testsuite/20_util/optional/cons/move.cc: Likewise.
* testsuite/20_util/optional/cons/trivial.cc: Likewise.
* testsuite/20_util/optional/cons/value.cc: Likewise.
* testsuite/20_util/optional/cons/value_neg.cc: Likewise.
* testsuite/20_util/optional/constexpr/cons/default.cc: Likewise.
* testsuite/20_util/optional/constexpr/cons/value.cc: Likewise.
* testsuite/20_util/optional/constexpr/in_place.cc: Likewise.
* testsuite/20_util/optional/constexpr/nullopt.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/1.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/4.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/5.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/1.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/2.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/3.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/4.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/5.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/6.cc: Likewise.
* testsuite/20_util/optional/in_place.cc: Likewise.
* testsuite/20_util/optional/make_optional.cc: Likewise.
* testsuite/20_util/optional/nullopt.cc: Likewise.
* testsuite/20_util/optional/observers/1.cc: Likewise.
* testsuite/20_util/optional/observers/2.cc: Likewise.
* testsuite/20_util/optional/observers/3.cc: Likewise.
* testsuite/20_util/optional/observers/4.cc: Likewise.
* testsuite/20_util/optional/observers/5.cc: Likewise.
* testsuite/20_util/optional/observers/6.cc: Likewise.
* testsuite/20_util/optional/relops/1.cc: Likewise.
* testsuite/20_util/optional/relops/2.cc: Likewise.
* testsuite/20_util/optional/relops/3.cc: Likewise.
* testsuite/20_util/optional/relops/4.cc: Likewise.
* testsuite/20_util/optional/relops/5.cc: Likewise.
* testsuite/20_util/optional/relops/6.cc: Likewise.
* testsuite/20_util/optional/relops/7.cc: Likewise.
* testsuite/20_util/optional/requirements.cc: Likewise.
* testsuite/20_util/optional/swap/1.cc: Likewise.
* testsuite/20_util/optional/swap/2.cc: Likewise.
* testsuite/20_util/optional/typedefs.cc: Likewise.

From-SVN: r266310
This commit is contained in:
Ville Voutilainen 2018-11-20 12:42:28 +02:00 committed by Ville Voutilainen
parent 72d3bb76c9
commit 47df7e197b
52 changed files with 106 additions and 51 deletions

View File

@ -1,3 +1,58 @@
2018-11-20 Ville Voutilainen <ville.voutilainen@gmail.com>
Housekeeping for the effective targets of optional's tests.
* testsuite/20_util/optional/77288.cc: Adjust.
* testsuite/20_util/optional/84601.cc: Likewise.
* testsuite/20_util/optional/assignment/1.cc: Likewise.
* testsuite/20_util/optional/assignment/2.cc: Likewise.
* testsuite/20_util/optional/assignment/3.cc: Likewise.
* testsuite/20_util/optional/assignment/4.cc: Likewise.
* testsuite/20_util/optional/assignment/5.cc: Likewise.
* testsuite/20_util/optional/assignment/6.cc: Likewise.
* testsuite/20_util/optional/assignment/7.cc: Likewise.
* testsuite/20_util/optional/assignment/8.cc: Likewise.
* testsuite/20_util/optional/cons/77727.cc: Likewise.
* testsuite/20_util/optional/cons/copy.cc: Likewise.
* testsuite/20_util/optional/cons/deduction.cc: Likewise.
* testsuite/20_util/optional/cons/default.cc: Likewise.
* testsuite/20_util/optional/cons/move.cc: Likewise.
* testsuite/20_util/optional/cons/trivial.cc: Likewise.
* testsuite/20_util/optional/cons/value.cc: Likewise.
* testsuite/20_util/optional/cons/value_neg.cc: Likewise.
* testsuite/20_util/optional/constexpr/cons/default.cc: Likewise.
* testsuite/20_util/optional/constexpr/cons/value.cc: Likewise.
* testsuite/20_util/optional/constexpr/in_place.cc: Likewise.
* testsuite/20_util/optional/constexpr/nullopt.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/1.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/4.cc: Likewise.
* testsuite/20_util/optional/constexpr/observers/5.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/1.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/2.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/3.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/4.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/5.cc: Likewise.
* testsuite/20_util/optional/constexpr/relops/6.cc: Likewise.
* testsuite/20_util/optional/in_place.cc: Likewise.
* testsuite/20_util/optional/make_optional.cc: Likewise.
* testsuite/20_util/optional/nullopt.cc: Likewise.
* testsuite/20_util/optional/observers/1.cc: Likewise.
* testsuite/20_util/optional/observers/2.cc: Likewise.
* testsuite/20_util/optional/observers/3.cc: Likewise.
* testsuite/20_util/optional/observers/4.cc: Likewise.
* testsuite/20_util/optional/observers/5.cc: Likewise.
* testsuite/20_util/optional/observers/6.cc: Likewise.
* testsuite/20_util/optional/relops/1.cc: Likewise.
* testsuite/20_util/optional/relops/2.cc: Likewise.
* testsuite/20_util/optional/relops/3.cc: Likewise.
* testsuite/20_util/optional/relops/4.cc: Likewise.
* testsuite/20_util/optional/relops/5.cc: Likewise.
* testsuite/20_util/optional/relops/6.cc: Likewise.
* testsuite/20_util/optional/relops/7.cc: Likewise.
* testsuite/20_util/optional/requirements.cc: Likewise.
* testsuite/20_util/optional/swap/1.cc: Likewise.
* testsuite/20_util/optional/swap/2.cc: Likewise.
* testsuite/20_util/optional/typedefs.cc: Likewise.
2018-11-19 François Dumont <fdumont@gcc.gnu.org> 2018-11-19 François Dumont <fdumont@gcc.gnu.org>
* include/ext/throw_allocator.h * include/ext/throw_allocator.h

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2016-2018 Free Software Foundation, Inc. // Copyright (C) 2016-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
#include <optional> #include <optional>

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2016-2018 Free Software Foundation, Inc. // Copyright (C) 2016-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2018 Free Software Foundation, Inc. // Copyright (C) 2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2016-2018 Free Software Foundation, Inc. // Copyright (C) 2016-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
#include <optional> #include <optional>
#include <type_traits> #include <type_traits>

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2018 Free Software Foundation, Inc. // Copyright (C) 2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2016-2018 Free Software Foundation, Inc. // Copyright (C) 2016-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2017-2018 Free Software Foundation, Inc. // Copyright (C) 2017-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do run } // { dg-do run { target c++17 } }
// Copyright (C) 2013-2018 Free Software Foundation, Inc. // Copyright (C) 2013-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2016-2018 Free Software Foundation, Inc. // Copyright (C) 2016-2018 Free Software Foundation, Inc.
// //

View File

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++17" } // { dg-options "-std=gnu++17" }
// { dg-do compile } // { dg-do compile { target c++17 } }
// Copyright (C) 2014-2018 Free Software Foundation, Inc. // Copyright (C) 2014-2018 Free Software Foundation, Inc.
// //