diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-27 16:15:35 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-27 16:15:35 +0000 |
commit | 33eadb7a7215ccedd3b4d9755ea53a43796b4399 (patch) | |
tree | 2a9f806e000a1244113de7bac6c9299301a7fb5f | |
parent | de193dff2f2d7f57869511bf8cf67f5cc2882753 (diff) | |
download | gcc-33eadb7a7215ccedd3b4d9755ea53a43796b4399.tar.gz |
Fix ext/random/hypergeometric_distribution/operators/values.cc on Solaris 9
* testsuite/ext/random/hypergeometric_distribution/operators/values.cc:
Use dg-require-cmath instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205450 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 3 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 22ddfa3e6b5..a27870d78d7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2013-11-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + * testsuite/ext/random/hypergeometric_distribution/operators/values.cc: + Use dg-require-cmath instead. + * testsuite/ext/random/hypergeometric_distribution/operators/values.cc (test01): Wrap in _GLIBCXX_USE_C99_MATH_TR1. 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 f1784353d1e..5f762d32a1b 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc @@ -1,5 +1,6 @@ // { dg-options "-std=gnu++11" } // { dg-require-cstdint "" } +// { dg-require-cmath "" } // // 2013-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net> // @@ -31,7 +32,6 @@ void test01() { -#if _GLIBCXX_USE_C99_MATH_TR1 using namespace __gnu_test; std::mt19937 eng; @@ -50,7 +50,6 @@ test01() auto bhd3 = std::bind(hd3, eng); testDiscreteDist(bhd3, [](int k) { return hypergeometric_pdf(k, 100, 20, 5); }); -#endif } int |