From patchwork Tue Feb 21 08:09:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 730360 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vSCpK2lCXz9s03 for ; Tue, 21 Feb 2017 19:09:41 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="OmZ2rm/l"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=PZ3GXZyqAyIhlFklQ QNDRCvJS0Ra3VTdm6K0D/noJKpOWbaxKnuTxSVBskiQATJhvshOjAHJbrHcID35b LOMM894fRYrl2G4E71Q/RXrDRUX8a2PGR7eLkLeNIw99bzYOdkAMCPFQctZqZRjg YaLfWs9j7R1GMEmwBELAcI60I4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=5CEYYbG8j4UhiZKVS5MgGYT nC2A=; b=OmZ2rm/lMIDBD3wIriDnZvJb9uwc5Ew5m8QrfjFQRhNr8t1FalqXuU8 AtP1psT+0dguIBMuYlMWS7WWVwKVRRldN8M3JDIxfGPr/ji7FDl8iDjIKC0quVPq KAn1L/gjErfzlz5BoRW6o4X6XQIMtOV4aiPng8KYC5duI5RaTtEM= Received: (qmail 116131 invoked by alias); 21 Feb 2017 08:09:22 -0000 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 Received: (qmail 116070 invoked by uid 89); 21 Feb 2017 08:09:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:ord1ecp, H*f:sk:ord1ecp, H*MI:sk:ord1ecp, 9657 X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Feb 2017 08:09:19 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AB15BAC17; Tue, 21 Feb 2017 08:09:17 +0000 (UTC) Subject: Re: [PATCH] Change default of param not being smaller that min. To: Alexandre Oliva , Richard Biener References: <84a233f9-50f6-2488-2c9f-f3eeb62c48a9@suse.cz> Cc: GCC Patches From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <2e731a26-46b8-2948-352e-c5db2815735c@suse.cz> Date: Tue, 21 Feb 2017 09:09:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: X-IsSubscribed: yes On 02/21/2017 12:03 AM, Alexandre Oliva wrote: > It's convenient to debug -fcompare-debug errors. You set the param to a > large number, and then non-debug insns will get the same uid in both > debug and non-debug compilations, so it's easier to compare RTL dumps > (using the attached gcc-diff-dump; I thought it was in contrib, but it's > not; should I put it there?) and locate the differences. Yes, please commit the script, I'm interested in :) There's second version, which changes default to 0. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin From c4d196cb9ad7ace112e9013403323fea3ead69fc Mon Sep 17 00:00:00 2001 From: marxin Date: Fri, 17 Feb 2017 16:00:30 +0100 Subject: [PATCH] Change default of param not being smaller that min. gcc/ChangeLog: 2017-02-17 Martin Liska * params.def (PARAM_MIN_NONDEBUG_INSN_UID): Change default to 0. --- gcc/params.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/params.def b/gcc/params.def index 023ca727648..31847efbc3b 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -965,7 +965,7 @@ DEFPARAM (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE, DEFPARAM (PARAM_MIN_NONDEBUG_INSN_UID, "min-nondebug-insn-uid", "The minimum UID to be used for a nondebug insn.", - 0, 1, 0) + 0, 0, 0) DEFPARAM (PARAM_IPA_SRA_PTR_GROWTH_FACTOR, "ipa-sra-ptr-growth-factor", -- 2.11.0