From patchwork Tue Oct 11 12:43:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B8rgen_Kvalsvik?= X-Patchwork-Id: 1919 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2074641wrs; Tue, 11 Oct 2022 05:44:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM721qDfQtHGsVfxg/Yt8uNMvkCurELAZ28RMmEqMIBnpuHOjWj5G99MOsoN+IYIF6359+XM X-Received: by 2002:a05:6402:ca5:b0:459:3fb0:c157 with SMTP id cn5-20020a0564020ca500b004593fb0c157mr22288963edb.389.1665492263007; Tue, 11 Oct 2022 05:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665492263; cv=none; d=google.com; s=arc-20160816; b=WO1lsZ9tSBxJUQmty26JIn9k1oejpVzq2vMjVU5wceFxFskDGQFYUXKEdwWcGqej6s wLeqJNm5e0U3ts6+e5q/z1QG2P3a/7YoJRSxLlI0RkX05PUKyXNmL08Jx9g+h81zkEvo JGqS2+dHR0p7MDZjd8x2kQEMWcEYgq4FTnNpUEt2FPwSSX2Z2Yv3JuQXuxnYTFLj77ex yFfM+h46uhg5w+fHZkBGCPb6LR3OlI9tQYMXPsrsTAdmtsJoZeK/PtKC/MXOfF6zWvmL Qcw0di7qnCE+hDF2tb+SDmSz6nAR5jgXjT7uMGuaKzUL0MAP0z1g2fIqplfFXBL1lssX fkFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from: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:to:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=OLmcPUVg+oWcBBp9yrPzue68aiIJCmFjEO/LAN4NZiU=; b=jkAkW3v7ukcWB2ZYJzCg8w3zHrFty8BTdJA/0o2w5b/YSud323TsmGottxvPnHu9Uj 94N6ey5xspCklvtoZAXsjEdl9LCfxqoaRlrzR29EOepk6f57IBOPKqjKy+vov8gbsLzq 3K5d+EkPyyamF/Yy/oQVgkTP6YM3Bhuq0FAQcfh4a3x13KguJIKWXn5+71oaSQ7Vhjxm CCdv02puoL9BPd5TF9ir47aqdpl08N5JKNwCB+mTFXSnRO6QxlCD9ZF7+RSI5bNGUuRW 5pQfGUgfPHl9NinKL4uqTo7+6bthgCC7okCn3RAiUa6zwyYAoAJJ0wp396y53YEY7MKI COyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=T9WCNAF1; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id y18-20020a056402271200b0045c23138cd8si5851948edd.45.2022.10.11.05.44.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 05:44:22 -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=@gcc.gnu.org header.s=default header.b=T9WCNAF1; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 02AC63856244 for ; Tue, 11 Oct 2022 12:44:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02AC63856244 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665492254; bh=OLmcPUVg+oWcBBp9yrPzue68aiIJCmFjEO/LAN4NZiU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=T9WCNAF137knh8Er7lB/IzlxOX3zSML/8J/UYOxTt7CEWEMvsICzQ8MAlzB4acLLJ v1MuKracGWNgjKfI8b+UU9FOyBBerVe5UufMEQix9ovMYXO7yT5LUR3tLVBHZXi1Dm P8OJY1QJO37YYKeGMxs779jpdaT1opc7nQpEMaq4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id AD3083857B9B for ; Tue, 11 Oct 2022 12:43:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AD3083857B9B Received: by mail-lf1-x132.google.com with SMTP id g1so20878647lfu.12 for ; Tue, 11 Oct 2022 05:43:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OLmcPUVg+oWcBBp9yrPzue68aiIJCmFjEO/LAN4NZiU=; b=kCeonymRwiNukX+LtMp0GROKeZSB1LxWtOM74/m0u/x1v2v6qcY5g3N5mMmFvYy8NH 7WeNVW7CZHVPr9XYtoEddaswPQ92UP9aHHHNZtdltl0+2R0LXUoJcQHEwA28gj3mc/71 YuEEPwdU0+5GDGYJQIVkYQfK3m9ZQClxSu9pXlc5T/2vzqXfn6OV4AMPF5fccA4oOGj9 1iddQCp6Nf/JauzbetP0sWBwwkCP/aBwwVUQlxYeAq1EP2ngr1rVSrZ7T3WYFQZcftS7 H41yluglh75ct+/rqLYHsoJw8hZA69CJSq9bDkUR34vXE4LKEvmnW82DfuoFXQ1USLh1 Q9XA== X-Gm-Message-State: ACrzQf171IGUAdZa2skdGcXKljkG1u2+880oCVXi+YJYMB++eNCIjkVn XzIw3Y8jTOWU3tgAlR19pQjg7c5+8sEu0HWNxTwn5OiKxJvKGWucPU8oCiJACZqYhGWIijmlW59 FjoculciPbWQkamJsOx1vxpXiZdcnMx7HfaO3nzh72u7UQrc7MnUcYNa0JaT0gGlMTFWQnV0ECY PkfrNrBYV+EXu4RkdFSN8= X-Received: by 2002:a05:6512:693:b0:4a2:a7f4:5fc5 with SMTP id t19-20020a056512069300b004a2a7f45fc5mr7407792lfe.43.1665492199951; Tue, 11 Oct 2022 05:43:19 -0700 (PDT) Received: from localhost.localdomain ([2a02:2121:6ca:a542:1c10:1c18:418e:cd9d]) by smtp.gmail.com with ESMTPSA id p9-20020a2eb7c9000000b00262fae1ffe6sm2131060ljo.110.2022.10.11.05.43.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 05:43:19 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH 2/2] gcov: test line count for label in then/else block Date: Tue, 11 Oct 2022 14:43:03 +0200 Message-Id: <20221011124303.99673-2-jorgen.kvalsvik@woven-planet.global> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20221011124303.99673-1-jorgen.kvalsvik@woven-planet.global> References: <20221011124303.99673-1-jorgen.kvalsvik@woven-planet.global> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, TXREP, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?J=C3=B8rgen_Kvalsvik_via_Gcc-patches?= From: =?utf-8?q?J=C3=B8rgen_Kvalsvik?= Reply-To: =?utf-8?q?J=C3=B8rgen_Kvalsvik?= Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746395215462923773?= X-GMAIL-MSGID: =?utf-8?q?1746395215462923773?= Add a test to catch regression in line counts for labels on top of then/else blocks. Only the 'goto