From e63d7e71a19aabb2b8d46e695ea6c2db1345c1d4 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 27 Oct 2016 14:55:36 +0100 Subject: [PATCH] Fix target selectors in uniform_inside_sphere_distribution tests * testsuite/ext/random/uniform_inside_sphere_distribution/cons/ default.cc: Fix effective target selector. * testsuite/ext/random/uniform_inside_sphere_distribution/cons/ parms.cc: Likewise. * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ equal.cc: Likewise. * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ generate.cc: Likewise. * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ inequal.cc: Likewise. * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ serialize.cc: Likewise. From-SVN: r241621 --- libstdc++-v3/ChangeLog | 13 +++++++++++++ .../cons/default.cc | 2 +- .../cons/parms.cc | 2 +- .../operators/equal.cc | 2 +- .../operators/generate.cc | 2 +- .../operators/inequal.cc | 2 +- .../operators/serialize.cc | 2 +- 7 files changed, 19 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 958d75bec3a..50f58379daa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,18 @@ 2016-10-27 Jonathan Wakely + * testsuite/ext/random/uniform_inside_sphere_distribution/cons/ + default.cc: Fix effective target selector. + * testsuite/ext/random/uniform_inside_sphere_distribution/cons/ + parms.cc: Likewise. + * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ + equal.cc: Likewise. + * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ + generate.cc: Likewise. + * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ + inequal.cc: Likewise. + * testsuite/ext/random/uniform_inside_sphere_distribution/operators/ + serialize.cc: Likewise. + * testsuite/experimental/filesystem/iterators/directory_iterator.cc: Use end() function to get end iterator. * testsuite/experimental/filesystem/iterators/pop.cc: Remove printf diff --git a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/default.cc b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/default.cc index 79ae488913a..ff5bcb37aaa 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/default.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/default.cc @@ -1,4 +1,4 @@ -// { dg-do run { target cxx11 } } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/parms.cc b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/parms.cc index 924b997bb8f..6a6ea2c2c04 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/parms.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/parms.cc @@ -1,4 +1,4 @@ -// { dg-do run { target cxx11 } } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/equal.cc b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/equal.cc index 370ee5664fc..1210946eaf0 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/equal.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/equal.cc @@ -1,4 +1,4 @@ -// { dg-do run { target cxx11 } } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/generate.cc b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/generate.cc index 60d76f30ffb..e9a7ca71d0e 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/generate.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/generate.cc @@ -1,4 +1,4 @@ -// { dg-do run { target cxx11 } } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/inequal.cc b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/inequal.cc index 0256d47a2f4..ca0d380dbc3 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/inequal.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/inequal.cc @@ -1,4 +1,4 @@ -// { dg-do run { target cxx11 } } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/serialize.cc index d03ce35b29c..89eb6049d76 100644 --- a/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/serialize.cc +++ b/libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/operators/serialize.cc @@ -1,4 +1,4 @@ -// { dg-do run { target cxx11 } } +// { dg-do run { target c++11 } } // { dg-require-cstdint "" } // // Copyright (C) 2014-2016 Free Software Foundation, Inc. -- 2.30.2