From: Jonathan Wakely Date: Thu, 10 Dec 2015 14:39:07 +0000 (+0000) Subject: Change tests to use -std=gnu++14 not -std=gnu++1y X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2a485f2b0641e8e3c1c2a8e4fcf5b3864e692c0;p=gcc.git Change tests to use -std=gnu++14 not -std=gnu++1y * testsuite/experimental/memory/shared_ptr/assign/assign.cc: Replace -std=gnu++1y with -std=gnu++14. * testsuite/experimental/memory/shared_ptr/cast/cast.cc: Likewise. * testsuite/experimental/memory/shared_ptr/comparison/comparison.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/dest/dest.cc: Likewise. * testsuite/experimental/memory/shared_ptr/modifiers/reset.cc: Likewise. * testsuite/experimental/memory/shared_ptr/modifiers/swap.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/operators.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/owner_before.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/use_count.cc: Likewise. From-SVN: r231517 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e29a6134935..3fc7f579b6f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,42 @@ 2015-12-10 Jonathan Wakely + * testsuite/experimental/memory/shared_ptr/assign/assign.cc: Replace + -std=gnu++1y with -std=gnu++14. + * testsuite/experimental/memory/shared_ptr/cast/cast.cc: Likewise. + * testsuite/experimental/memory/shared_ptr/comparison/comparison.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/dest/dest.cc: Likewise. + * testsuite/experimental/memory/shared_ptr/modifiers/reset.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/modifiers/swap.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/observers/operators.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/observers/owner_before.cc: + Likewise. + * testsuite/experimental/memory/shared_ptr/observers/use_count.cc: + Likewise. + PR libstdc++/68825 * include/experimental/bits/shared_ptr.h (__shared_ptr, __weak_ptr, experimental::shared_ptr, experimental::weak_ptr): Constrain 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 7656c98c327..141be63a5da 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 18c2ba4a4ec..06b5ea18f90 100644 --- a/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cast/cast.cc +++ b/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cast/cast.cc @@ -1,4 +1,4 @@ -// { dg-options "-std=gnu++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 Free Software Foundation, Inc. // 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 52fc1934ed2..61b9d0c1a18 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 15d1de8e12a..d37026a7412 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 12eb15ccef6..7c99d4e0916 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 4c3680ed156..e754d56b096 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 b2691e9f504..bc8bcf24493 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,4 +1,4 @@ -// { dg-options "-std=gnu++1y" } +// { dg-options "-std=gnu++14" } // { dg-do compile } // Copyright (C) 2015 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 794e86528c0..74f076a4db2 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 3c070fe669e..3b535a90fb1 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 d9ae591a41d..11681dbb3ff 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 35fb82f36bf..966491023ad 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 342b37baa0d..99f17cce9c1 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 989121df909..0494184dbe0 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 bd1ce1d24b9..2518b2031ab 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 758042caf3a..b61999fc570 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 7e4c750a3cf..0973944e9e5 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 d32c89978aa..995c1c99872 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 24a658a96f8..268f4796bb6 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 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 fc48bf2160d..35864ade91b 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++1y" } +// { dg-options "-std=gnu++14" } // Copyright (C) 2015 Free Software Foundation, Inc. //