From patchwork Mon Nov 11 08:23:56 2019 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: 1192821 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-512917-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="PQMnud4H"; dkim-atps=neutral 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 47BP6f03ttz9sP3 for ; Mon, 11 Nov 2019 19:24:07 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:from:to:cc:references:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=sFgDYuTi4liVNfSre FhzTOn6RBgFaEMwXfcrZrpDcUlOi+zvO5hLm14f7E9rf0FONztp/IFJ6V83rxzoA IxGRHekEQaC3YyUkKoAuC355Ze4s3t6vzaA1YZh+EB1rv1YwHD8ENxYZp1tcHyGy ADfj3SWtHeqkbYnV+oLNHAiUzQ= 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:from:to:cc:references:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=onyVDN0ncmtZLlzlCEa+Ud0 1jxo=; b=PQMnud4Hq9tOdPUDN5qUNea+1L5XvCnB0a5n9Fl6QSieIcGqrjenY6A YFITOOb8BLjDaOQ2JUXz4W0NEcwi/2Lwqr+Ppzbfl1dRgi+iYnkFxgyGr7sHRjYA AV+R1u5KcKGzGXrLqug7KYD4BSaoYUgPUBRfTE8/i+Cyyzyr9kO0= Received: (qmail 98888 invoked by alias); 11 Nov 2019 08:24:00 -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 98868 invoked by uid 89); 11 Nov 2019 08:24:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Nov 2019 08:23:59 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 33AA0B2A5; Mon, 11 Nov 2019 08:23:57 +0000 (UTC) Subject: [PATCH] Sort debug counter names. From: =?utf-8?q?Martin_Li=C5=A1ka?= To: gcc-patches@gcc.gnu.org Cc: Richard Biener References: <2fda9845-c1c2-0fdc-0ac6-f1fbb875d4f4@suse.cz> Message-ID: <6d0bed4c-22ce-9d7f-9352-0d5b6391db76@suse.cz> Date: Mon, 11 Nov 2019 09:23:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <2fda9845-c1c2-0fdc-0ac6-f1fbb875d4f4@suse.cz> X-IsSubscribed: yes Hi. The small patch is about sorting of debug counter values. Ready to be installed? Thanks, Martin From f9e1387c8e03d73d00d701fa9754af850424215f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 11 Nov 2019 09:03:24 +0100 Subject: [PATCH] Sort debug counter names. gcc/ChangeLog: 2019-11-11 Martin Liska * dbgcnt.def (DEBUG_COUNTER): Sort counters alphabetically. --- gcc/dbgcnt.def | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gcc/dbgcnt.def b/gcc/dbgcnt.def index cbd437ea594..5b96a7eaf9d 100644 --- a/gcc/dbgcnt.def +++ b/gcc/dbgcnt.def @@ -140,7 +140,8 @@ echo ubound: $ub */ -/* Debug counter definitions. */ +/* Debug counter definitions. + Please keep the list sorted in alphabetic order. */ DEBUG_COUNTER (asan_use_after_scope) DEBUG_COUNTER (auto_inc_dec) DEBUG_COUNTER (ccp) @@ -153,10 +154,12 @@ DEBUG_COUNTER (dce_ud) DEBUG_COUNTER (delete_trivial_dead) DEBUG_COUNTER (devirt) DEBUG_COUNTER (df_byte_scan) +DEBUG_COUNTER (dom_unreachable_edges) DEBUG_COUNTER (dse) DEBUG_COUNTER (dse1) DEBUG_COUNTER (dse2) DEBUG_COUNTER (gcse2_delete) +DEBUG_COUNTER (gimple_unroll) DEBUG_COUNTER (global_alloc_at_func) DEBUG_COUNTER (global_alloc_at_reg) DEBUG_COUNTER (graphite_scop) @@ -170,7 +173,9 @@ DEBUG_COUNTER (if_conversion_tree) DEBUG_COUNTER (ipa_sra_params) DEBUG_COUNTER (ipa_sra_retvalues) DEBUG_COUNTER (ira_move) +DEBUG_COUNTER (ivopts_loop) DEBUG_COUNTER (local_alloc_for_sched) +DEBUG_COUNTER (match) DEBUG_COUNTER (merged_ipa_icf) DEBUG_COUNTER (postreload_cse) DEBUG_COUNTER (pre) @@ -188,15 +193,11 @@ DEBUG_COUNTER (sel_sched_insn_cnt) DEBUG_COUNTER (sel_sched_region_cnt) DEBUG_COUNTER (sms_sched_loop) DEBUG_COUNTER (split_for_sched2) +DEBUG_COUNTER (store_merging) DEBUG_COUNTER (store_motion) DEBUG_COUNTER (stv_conversion) DEBUG_COUNTER (tail_call) -DEBUG_COUNTER (treepre_insert) DEBUG_COUNTER (tree_sra) +DEBUG_COUNTER (treepre_insert) DEBUG_COUNTER (vect_loop) DEBUG_COUNTER (vect_slp) -DEBUG_COUNTER (dom_unreachable_edges) -DEBUG_COUNTER (match) -DEBUG_COUNTER (store_merging) -DEBUG_COUNTER (gimple_unroll) -DEBUG_COUNTER (ivopts_loop) -- 2.24.0