diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-10-09 14:50:19 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-10-09 14:50:19 +0000 |
commit | eeeef8f4f93036d2ea25325a3b681c338e7e143f (patch) | |
tree | 97676a530949901acc3ae1b6d60e406dae3eff49 /libstdc++-v3/testsuite/ext | |
parent | 7b575cfaf349678f46f47ab92098fdcb68506dd4 (diff) | |
download | gcc-eeeef8f4f93036d2ea25325a3b681c338e7e143f.tar.gz |
re PR libstdc++/54869 (ext/random/simd_fast_mersenne_twister_engine/cons/default.cc FAILs)
2012-10-09 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/54869
* include/ext/random (simd_fast_mersenne_twister_engine): Provide
only for little endian targets.
* include/ext/random.tcc: Likewise.
* config/cpu/i486/opt/ext/opt_random.h: Likewise.
* testsuite/lib/libstdc++.exp (check_v3_target_little_endian): Add.
* testsuite/lib/dg-options.exp (dg-require-little-endian): Add.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
operators/equal.cc: Use the latter.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
operators/serialize.cc: Likewise.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
operators/inequal.cc: Likewise.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
cons/copy.cc: Likewise.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
cons/seed1.cc: Likewise.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
cons/seed2.cc: Likewise.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
cons/default.cc: Likewise.
* testsuite/ext/random/simd_fast_mersenne_twister_engine/
cons/seed_seq.cc: Likewise.
From-SVN: r192256
Diffstat (limited to 'libstdc++-v3/testsuite/ext')
8 files changed, 16 insertions, 8 deletions
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 8371f4628fa..f703a090b83 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2010-02-16 Paolo Carlini <paolo.carlini@oracle.com> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2010, 2012 Free Software Foundation, Inc. +// Copyright (C) 2010-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the 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 5b6489a4028..167839bf43e 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2008, 2009, 2010, 2012 Free Software Foundation, Inc. +// Copyright (C) 2008-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the 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 1926958ea4e..c8d7eead92f 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2008, 2009, 2010, 2012 Free Software Foundation, Inc. +// Copyright (C) 2008-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the 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 464512c4521..001b06d998a 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2008, 2009, 2010, 2012 Free Software Foundation, Inc. +// Copyright (C) 2008-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the 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 4820fa493d9..6fcd202a480 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2010-02-01 Paolo Carlini <paolo.carlini@oracle.com> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2010, 2012 Free Software Foundation, Inc. +// Copyright (C) 2010-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the 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 80022a68d89..e41efd01131 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc. +// Copyright (C) 2008-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the 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 15aaf127814..c39f5ff1200 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2010-03-16 Paolo Carlini <paolo.carlini@oracle.com> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2010, 2012 Free Software Foundation, Inc. +// Copyright (C) 2010-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the 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 ddc62b5605e..a3d5e766e5d 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,10 +1,11 @@ // { dg-options "-std=c++0x" } // { dg-require-cstdint "" } +// { dg-require-little-endian "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> // 2012-08-28 Ulrich Drepper <drepper@gmail.com>, adapted for SFMT // -// Copyright (C) 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. +// Copyright (C) 2008-2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the |