From patchwork Wed Oct 4 12:39:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B8rgen_Kvalsvik?= X-Patchwork-Id: 148293 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:254a:b0:403:3b70:6f57 with SMTP id hf10csp106467vqb; Wed, 4 Oct 2023 05:49:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6Gj5g2RQLqAjvpXcwh/XYZQdYfFgmawTGXhSkHf/L3D51eljjHo1z7klSvxs4tTYepsB8 X-Received: by 2002:aa7:df0e:0:b0:52c:8a13:2126 with SMTP id c14-20020aa7df0e000000b0052c8a132126mr1993032edy.37.1696423755527; Wed, 04 Oct 2023 05:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696423755; cv=none; d=google.com; s=arc-20160816; b=zNVN+G/+wEi8069xu6Lip+ML8Clw+qji8nuD9vvp+jjO9tnx8LVmpo1ckigYR9/13+ UaKtgX+/zPGf402EACwA0hOQNXIbr5DUBNjC5BjCjgru0Ih36yfwMqOhb017uX9YqlOT YIl7HcVD1WBrCLyFttRbDeYyP0f345JHUjGwLPnsBtaiPCfwenlNQ+gawpsO4gbgrzeE YZGTXDGjIdAkGwY5pRxet7bvcNE8PDPFlEV08UJtpkfSKB+u0iZbx9GzY2/cOp1w0JuI vph8C2LJtXfg8qHdtLo8fJDyUJXKyfdpev/u9es7tmliyauRUNWiC0HRdci0/TqS2u3Z WbQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:dmarc-filter:delivered-to; bh=h0FXBfnYpPs0RgAN3XW9RJpSFrofJCFnpzlKgxoNWWA=; fh=CEeJ7+WMWhXQXVFKL0VPjjag+HM5tElSwmAChuvqRbA=; b=EQfJ7kggUml1bxOGFKJMYC2OY/MjCjL9ZKtIcyIKvesLkC8fpsdcTo3pld3BhGAXRK ZNayVHJV+HxGMmsi9o0LSvEibQEJvfEKpi1RyX5DfngnPuIEuevoiKnGZeabJa5NneYR KefHeqnX+RloaBL5BVpK7TjSuQ5BN+pzFhRFqr8qbca57hrJjwW7pRLmIGQl6ONYVbpb YOzDCq05hVSlx0CwUH99n4DSWJMGZuiweTvr6GuMbkEE3ZX+Ejk7JsQTKwjIrzX88sGP mOwSzgERGhh5vI4/OgeburjA6ekGTQbtSNCtpeQd57XHb3ub92n4TqhxheOltF24ORLd xXIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b=3PwRuB25; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id z10-20020aa7c64a000000b0053621ef554fsi1603243edr.320.2023.10.04.05.49.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b=3PwRuB25; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0E24038A9086 for ; Wed, 4 Oct 2023 12:43:01 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx.kolabnow.com (mx.kolabnow.com [212.103.80.155]) by sourceware.org (Postfix) with ESMTPS id 8839E385ED41 for ; Wed, 4 Oct 2023 12:40:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8839E385ED41 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lambda.is Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lambda.is Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id B681920AB2EC; Wed, 4 Oct 2023 14:40:40 +0200 (CEST) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1696423240; x=1698237641; bh=h0FXBfnYpPs0RgAN3XW9RJpSFrofJCFnpzl KgxoNWWA=; b=3PwRuB252U1WhIwhEj4GNaBJjwidg0U0h3zo2mPyFu49To4cBCI wQOFCp0RYo4X4ax2Hi22dxrFlqwMV1PgUCOlC92/p+wGcgOM8y3GV1ymrMkA8YiU FdvySsdv4pvC/EXj8UJKRuKDDa9jhifbq5e0M/6Db+b6nQE2MnHuPWrVTT1/dpMH I/8Nhm/TFzfGo6m/D6uHGY8aG701ciTD9zKtT61ZldQ8Lfwt4VLbf0d49g5Y3ebC LfPtnPP6SNR4ICX9PzmYjAoAvsZjasLm1Ge8vt9Sui1DDN1nSDPRJSBEFMOX7Y/m 7ndjJUyFLtuu9mXMwH9qQIo9lx+38zOXLJOCT0WghP/RaWotRoZ6QSiuu03cCpcT 7G7iN7vbrLe/9YdfRpmjx/ozY3LAd1edwN6ShiWrTCFf1JyAIfwJ4QKPOZh4tenu W6wj+mFa6SWzg5jgZCuCHjK9oWlOFPazickX4mXuSY2ffaL3+MoUPS+NWq7Yxf/R tSk1RHQ5RF9R/OyIgFXionkYOqXwDfPfa00T+w1MyGncd29wvI9v3cJPdM+GCWEB 2jq0pg0/o19WhXytbCHHtAheH6BSUJ/YrX2fD7xKnvOl669uB8QlJWwz6nzG+dd8 y0F8QqbFRzn+aZ9uJpdOS9to14MYISslYLxQdfqZTjPDeT0eDdk1Tc7Y= X-Virus-Scanned: amavis at mykolab.com X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, SPAM_BODY, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id AEh_i0BzOC_Q; Wed, 4 Oct 2023 14:40:40 +0200 (CEST) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 294B720AB2E8; Wed, 4 Oct 2023 14:40:40 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 066C720D6AE9; Wed, 4 Oct 2023 14:40:40 +0200 (CEST) From: =?utf-8?q?J=C3=B8rgen_Kvalsvik?= To: gcc-patches@gcc.gnu.org Cc: mliska@suse.cz, jh@suse.cz, =?utf-8?q?J=C3=B8rgen_Kvalsvik?= Subject: [PATCH 08/22] Describe output_conditions Date: Wed, 4 Oct 2023 21:39:08 +0900 Message-Id: <20231004123921.634024-9-j@lambda.is> In-Reply-To: <20231004123921.634024-1-j@lambda.is> References: <20231004123921.634024-1-j@lambda.is> MIME-Version: 1.0 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778829235613786071 X-GMAIL-MSGID: 1778829235613786071 From: Jørgen Kvalsvik --- gcc/gcov.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/gcov.cc b/gcc/gcov.cc index 95e0a11bc08..62eac76a971 100644 --- a/gcc/gcov.cc +++ b/gcc/gcov.cc @@ -3045,6 +3045,10 @@ accumulate_line_counts (source_info *src) } } +/* Output information about the conditions in block BINFO. The output includes + * a summary (n/m outcomes covered) and a list of the missing (uncovered) + * outcomes. */ + static void output_conditions (FILE *gcov_file, const block_info *binfo) {