From patchwork Mon Apr 23 11:18:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 154389 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id D5850B6FE3 for ; Mon, 23 Apr 2012 21:19:29 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1335784770; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Message-ID:Date:From:User-Agent:MIME-Version: To:CC:Subject:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=toOXuzP7t+ln2GKj5RxS6ITAcMc=; b=RDqPV13e9AYqD48 +eoaCyh+PZLjmPHovjBF5ZE6xM74wRYihKJuMYQdyQzsXoiWMBtjpaX98hs4gwU6 5iQQJc2QxYiOatE3Ewc787B0uG64WNGhAOKib0cnDx3Ryq3hBWqM59kE/FjGk7tn dK4bLkzVF0PioFdL7UtmgXTvmoLQ= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=idmSno0oVdedgeoCFuTGxWNw5rSzlDXS8A3uO9TgepQ45TkgZG7Zwhfj/0QXKN MDV8EVgngFQINlPfBmm9HgOXfhg+TUYTAV6MrRvUeScnQN/yZj+Zc8Y0hQZoZfX8 PMI5KGKgKgPDFz2ImuQm/XVgzE2L+WUbIwn8v8HmvNiLc=; Received: (qmail 1881 invoked by alias); 23 Apr 2012 11:19:02 -0000 Received: (qmail 1854 invoked by uid 22791); 23 Apr 2012 11:19:01 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_NO, RCVD_IN_HOSTKARMA_W, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from acsinet15.oracle.com (HELO acsinet15.oracle.com) (141.146.126.227) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Apr 2012 11:18:38 +0000 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3NBIXKq003094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Apr 2012 11:18:34 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3NBIXbl021628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Apr 2012 11:18:33 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3NBIXEo011431; Mon, 23 Apr 2012 06:18:33 -0500 Received: from [192.168.1.4] (/79.53.82.79) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Apr 2012 04:18:33 -0700 Message-ID: <4F953A7F.7050707@oracle.com> Date: Mon, 23 Apr 2012 13:18:23 +0200 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120328 Thunderbird/11.0.1 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: libstdc++ Subject: [testsuite] PR 53046 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, tested x86_64-linux, committed. Paolo. /////////////////// 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. Index: testsuite/25_algorithms/stable_partition/mem_check.cc =================================================================== --- testsuite/25_algorithms/stable_partition/mem_check.cc (revision 186692) +++ testsuite/25_algorithms/stable_partition/mem_check.cc (working copy) @@ -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 @@ 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; } Index: testsuite/25_algorithms/stable_sort/mem_check.cc =================================================================== --- testsuite/25_algorithms/stable_sort/mem_check.cc (revision 186692) +++ testsuite/25_algorithms/stable_sort/mem_check.cc (working copy) @@ -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 @@ 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)