From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 593853858016 for ; Fri, 3 Dec 2021 08:37:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 593853858016 Received: by mail-wr1-x429.google.com with SMTP id i5so4166407wrb.2 for ; Fri, 03 Dec 2021 00:37:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5kzheeJOeL/V/3iMJ3htWeDvS/ZqCiuJzMrEBBQM5Z0=; b=Kb4rKYiexR7CmG8j2AqGZizXPfIvQDHNBUJfcnHOfwPIDja3EpertbsmLQ/Q8C0OxS az7iTxl4l3i/WBEQIIRur+LUe20yfJ7A+I43OpeYtTwTVNN3RkNVPkjnKJVAEZZQQfS4 cb4A/7vS7CFVbsJ/KTJfhdv9e6b/eRIc8iCkLtc11nZhkM0bEWylSM8OqNyVImUlKV5W vq0PvCHXQh3/IsXNJsW/Wk8nP4qxe4hG0AyOE5oTWxkNlyJx8goUXGbE4SQgiIsd/415 MZB1W18I3OzbKY4bWSvvXgBkd73QYgnvLJw3zp5B8q/sHyk9sX3TK+BhtkHled8qDJ/y Z0cw== X-Gm-Message-State: AOAM530/GWlrs6bb9BW9nubQ5VsL4LHgksSfeyP9iSj2yDnwGXSyJre4 h3HA/lQGKYRf7zC4rmIQJz4= X-Google-Smtp-Source: ABdhPJzkxbiBu8xU1fzZbbuLvjLcz2G+nWMZpM93ryXQFxeYN2zzoSzHmPU7aQTJQkta1rO0igBQRw== X-Received: by 2002:adf:9bdb:: with SMTP id e27mr20424222wrc.417.1638520678457; Fri, 03 Dec 2021 00:37:58 -0800 (PST) Received: from nbbrfq (91-119-98-250.dsl.dynamic.surfer.at. [91.119.98.250]) by smtp.gmail.com with ESMTPSA id z7sm4231623wmi.33.2021.12.03.00.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 00:37:58 -0800 (PST) Date: Fri, 3 Dec 2021 09:37:54 +0100 From: Bernhard Reutner-Fischer To: Jan Hubicka via Gcc-patches Cc: rep.dot.nop@gmail.com, Jan Hubicka Subject: Re: Improve -fprofile-report Message-ID: <20211203093754.73999203@nbbrfq> In-Reply-To: <20211127155632.GB25962@kam.mff.cuni.cz> References: <20211127155632.GB25962@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2021 08:38:00 -0000 On Sat, 27 Nov 2021 16:56:32 +0100 Jan Hubicka via Gcc-patches wrote: > --- a/gcc/cfghooks.h > +++ b/gcc/cfghooks.h > @@ -36,22 +36,25 @@ along with GCC; see the file COPYING3. If not see > and one CFG hook per CFG mode. */ > struct profile_record > { > - /* Likewise for a basic block's successors. */ > - int num_mismatched_count_out; > - /* A weighted cost of the run-time of the function body. */ > - gcov_type_unsigned time; > /* A weighted cost of the size of the function body. */ > int size; > /* True iff this pass actually was run. */ > bool run; > + bool fdo; > }; > fdo seems to be unused, does it belong to some other patch? thanks,