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: r186713
This commit is contained in:
Chris Jefferson 2012-04-23 15:24:44 +00:00 committed by Paolo Carlini
parent 495f8a0d34
commit ce5742fd0e
3 changed files with 11 additions and 4 deletions

View File

@ -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

View File

@ -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; }

View File

@ -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)