aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorChris Jefferson <chris@bubblescope.net>2012-04-23 11:17:28 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2012-04-23 11:17:28 +0000
commitff5be0e34e72b6f752da6ad73be280a514bc78b0 (patch)
treecc21927ef552bd9f06c896382a633c7719d17d00 /libstdc++-v3
parent93a18a7075dcd4a082766c3220bd20a9303ee614 (diff)
downloadgcc-ff5be0e34e72b6f752da6ad73be280a514bc78b0.zip
gcc-ff5be0e34e72b6f752da6ad73be280a514bc78b0.tar.gz
gcc-ff5be0e34e72b6f752da6ad73be280a514bc78b0.tar.bz2
re PR testsuite/53046 (New libstdc++ test failures)
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. From-SVN: r186701
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/stable_partition/mem_check.cc4
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc4
3 files changed, 11 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6ad6645..cf791b4 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 81d816d..89965fa 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 78c14b4..8b36f7a 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)