From: Chris Jefferson Date: Mon, 23 Apr 2012 11:17:28 +0000 (+0000) Subject: re PR testsuite/53046 (New libstdc++ test failures) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff5be0e34e72b6f752da6ad73be280a514bc78b0;p=gcc.git re PR testsuite/53046 (New libstdc++ test failures) 2012-04-23 Chris Jefferson 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 --- 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 + + 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 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 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 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)