From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx.kolabnow.com (mx.kolabnow.com [212.103.80.154]) by sourceware.org (Postfix) with ESMTPS id 0904A386C599 for ; Tue, 25 Jun 2024 08:03:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0904A386C599 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lambda.is Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lambda.is ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0904A386C599 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.103.80.154 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719302625; cv=none; b=EjYd2cL2RObXcto6kydUAzv1dTwC8ngv3Vxp5dR6WuBoiJ4YwnfxmCmhST3FtGnpFWSiZ9N4mCVot6Mg/1VkdVQFTagGkqwVyZc51OiGPJkDMOnpfZojxg7du9sBK/+VezP/OA9GlppnzR5PV1IvGmfOMqo2a3b/kURGn/WwXTI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719302625; c=relaxed/simple; bh=eNF9LXLj5srHDhdLgEsPbiCVO49KbJ4YiRZQVFlefN4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=XisZIRtIJAhoNz1JAjtlloX/ToyTQrIuRn/N/pyoVbINTFkG897D2ihFtn81zCdVxT2IRxquiE9f3cP0gqW+qikpV0j4/BqqlicyhQ4RPH7sKcr9sSR6uzfrWjQwB5bw+unth069/TC+GwjTgM70tJyvO10JQ+YGNOFEVYblJqI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 0E8EC30E4182; Tue, 25 Jun 2024 10:03:43 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-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 :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20240523; t=1719302620; x=1721117021; bh=HpgvyjR3gTxX+zkhRUu9XfHOLQmKfCm8jb7ML78nIUI=; b=TYUIoZFeEh5X 8CEnU3OwmwFYtPWz+RFM+DtTEM/OPg4nPFCyAzwFv2fY8obrLOyRMY5pLJV+RcoX P4xX8qFZzR8mPATOKoNpx2moUrpxeMSGood7ALzklt3eM9v7uiobLeihqNswCS3P Hy8yxxFD/gZOiaQYPqOl29UqZCV4QlB3/No1ctI0DLmsZKLTod1UA7FivgWfCLBL JZDMPOTPD1r4p4WOGU1kk3gVyJrUzKGDoCz4VGyGKemYb5Ot4SAX3O+RS1Z77GSJ DSxAD2JDDVC8aLF3EulG/Y4ZIDfAvFwq39Pb7rlTN6pbGsMQ0hQNyHamwLchy9BJ wJO5IjNu7Q== X-Virus-Scanned: amavis at mykolab.com X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,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-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id apN34zKf-pEh; Tue, 25 Jun 2024 10:03:40 +0200 (CEST) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 04ACF3004C4C; Tue, 25 Jun 2024 10:03:39 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id C6EE121F0909; Tue, 25 Jun 2024 10:03:39 +0200 (CEST) From: =?UTF-8?q?J=C3=B8rgen=20Kvalsvik?= To: gcc-patches@gcc.gnu.org Cc: hubicka@ucw.cz, =?UTF-8?q?J=C3=B8rgen=20Kvalsvik?= Subject: [PATCH 0/3] Condition coverage docs, bugfix Date: Tue, 25 Jun 2024 10:03:29 +0200 Message-Id: <20240625080332.1517736-1-j@lambda.is> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This patch set includes a memory leak fix and some documentation additions for condition coverage. Without prior knowledge it would be hard to find out what exactly gcc/gcov means by "condition coverage", so I fleshed it out and made sure to include some searchable keywords -- masking, MC/DC. The flags leave room for other condition coverage flavors, and relies on docs to make it clear. Jørgen Kvalsvik (3): Release structures on function return Add section on MC/DC in gcov manual Use the term MC/DC in help for gcov --conditions gcc/doc/gcov.texi | 72 +++++++++++++++++++++++++++++++++++++++++++++ gcc/gcov.cc | 2 +- gcc/tree-profile.cc | 3 ++ 3 files changed, 76 insertions(+), 1 deletion(-) -- 2.39.2