From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78912 invoked by alias); 7 Aug 2018 14:35:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 78092 invoked by uid 89); 7 Aug 2018 14:35:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Alves, H*Ad:U*palves, alves X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 Aug 2018 14:35:35 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AB4EE87A78; Tue, 7 Aug 2018 14:35:33 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id E9E382166BA0; Tue, 7 Aug 2018 14:35:32 +0000 (UTC) Subject: Re: Update dg-extract-results.* from gcc To: Rainer Orth , gdb-patches@sourceware.org References: From: Pedro Alves Message-ID: <515bfbff-e2f7-3574-2726-ee1592786891@redhat.com> Date: Tue, 07 Aug 2018 14:35:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2018-08/txt/msg00115.txt.bz2 On 07/20/2018 12:02 PM, Rainer Orth wrote: > When looking at the gdb.sum file produced by dg-extract-results.sh on > Solaris 11/x86, I noticed some wrong sorting, like this: > > PASS: gdb.ada/addr_arith.exp: print something'address + 0 > PASS: gdb.ada/addr_arith.exp: print 0 + something'address > PASS: gdb.ada/addr_arith.exp: print something'address - 0 > PASS: gdb.ada/addr_arith.exp: print 0 - something'address > > Looking closer, I noticed that while dg-extract-results.sh had been > copied over from contrib in the gcc repo, the corresponding > dg-extract-results.py file had not. The latter not only fixes the > sorting problem I'd observed, but is also way faster than the shell > version (like a factor of 50 faster). We used to have the dg-extract-results.py file, but we deleted it because it caused (funnily enough, sorting) problems. See: https://sourceware.org/ml/gdb-patches/2015-02/msg00333.html Has that sorting stability issue been meanwhile fixed upstream? Thanks, Pedro Alves