diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-23 11:17:28 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-23 11:17:28 +0000 |
commit | 8baaba8b466aa1e0bdbe436d3661cbbc9600a910 (patch) | |
tree | cc21927ef552bd9f06c896382a633c7719d17d00 | |
parent | da75178562f79c27c4c5b5b9db7080a4006cf769 (diff) | |
download | gcc-8baaba8b466aa1e0bdbe436d3661cbbc9600a910.tar.gz |
2012-04-23 Chris Jefferson <chris@bubblescope.net>
PR testsuite/53046
* testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size
of array A.
* testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186701 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/25_algorithms/stable_partition/mem_check.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6ad664509b3..cf791b440ac 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2012-04-23 Chris Jefferson <chris@bubblescope.net> + + PR testsuite/53046 + * testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size + of array A. + * testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise. + 2012-04-22 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/53067 diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_partition/mem_check.cc b/libstdc++-v3/testsuite/25_algorithms/stable_partition/mem_check.cc index 81d816d36ad..89965fa30fc 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_partition/mem_check.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_partition/mem_check.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2009 Free Software Foundation, Inc. +// Copyright (C) 2009, 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 @@ -31,7 +31,7 @@ using __gnu_test::destructor; typedef test_container<copy_tracker, random_access_iterator_wrapper> Container; const int A[] = {10, 20, 1, 11, 2, 21, 28, 29, 12, 35, 15, 27, 6, 16, 7, - 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26}; + 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26, 0}; bool even(const copy_tracker& ct) { return ct.id() < 19; } diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc b/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc index 78c14b43ec5..8b36f7a3312 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2009 Free Software Foundation, Inc. +// Copyright (C) 2009, 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 @@ -31,7 +31,7 @@ using __gnu_test::destructor; typedef test_container<copy_tracker, random_access_iterator_wrapper> Container; const int A[] = {10, 20, 1, 11, 2, 21, 28, 29, 12, 35, 15, 27, 6, 16, 7, - 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26}; + 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26, 0}; void test_mem1(int throw_count) |