From patchwork Tue Oct 11 12:43:02 2022 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: 1918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2074587wrs; Tue, 11 Oct 2022 05:44:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6f7ddBNq+pot3Ew6kndAJZwdV1TxnI8DhhN2OpkMwPgXvEUNXGh8mYg9iJ9CxXY8nKTbHq X-Received: by 2002:a17:907:75e8:b0:78d:cf11:cccb with SMTP id jz8-20020a17090775e800b0078dcf11cccbmr3991975ejc.42.1665492257235; Tue, 11 Oct 2022 05:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665492257; cv=none; d=google.com; s=arc-20160816; b=n84+nOI5/529gIRankCItPZeiknfulfZgdMKicsiYyKDJB/Xd/TKAczEAFOS2aq2va A3TJjoa+7KyEJkHYZ8aVaJW9dRsczVZxkueRNS4f6MyZt3RukYpovhzk8bXR/ECJZKTB Z3/ebgOr9ywdjElfTCvTZMemuwzkkOz4RxSIS0JAVnID8rZwNe5a274TwzCRQ+wljZ6c NEldtnsr1jC33FZ7sQoFEye5Rm5xd1Cf79q+2Y7J+fa4oU4Xw8guq67H87kYRgko+5Zv 6Q4ij7hsHN4Yl9N0yoUN2nLN88Spys0pUJZPOGWaHkx8wmnSjOCspIbPgVOqISKt3DVY fuOw== 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:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=TVHCy6IPVMGEVNqEXeBpUyxooH63sHQGttlWDQ0hwlY=; b=zrSYMbswaAAn6BIvW4DJfjkbghqYLWQtn9oJkKpL+HJshpXNeWl/eVy/lAlZDrI3zz gHLKF1B38cgwKod7Zp4RSQ/tSuz4nCqSFDy9BmCUq+5MjiXQ3qOiErJTQAk4npz0piNs ZeMqgvA/X9ItrcXkAxgDcg7Cw90pmCdtzSptXQ6sXScdYEmcZdPYB4iD6Yf8xThd4h5q 1QBGDiMk/jrakOCdkTZy5a/RZjxTlFpXC+gj7LovyqtduVN2ao2R8PkBIK7l+FkqWPj3 QU2C5Aeyfm54/MnZg1Go/7ht0+sVFiVq+Q8PJGtBXe8TbQPvAhAO5hcmEo3hzP7B1Xss icuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="L/PU3rIx"; 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 be11-20020a1709070a4b00b0073da0ce043csi11316512ejc.619.2022.10.11.05.44.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 05:44:17 -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="L/PU3rIx"; 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 06D29385AE58 for ; Tue, 11 Oct 2022 12:44:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06D29385AE58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665492250; bh=TVHCy6IPVMGEVNqEXeBpUyxooH63sHQGttlWDQ0hwlY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=L/PU3rIxmbVuFNPKuIjMuSsRvYtDSb9jNb6TfuXfiU+P6kPRdD4Xa2ukq/qYg9Y5P l+yfKnCWrlFUSmE0EGl4fdzAKkf7SFSTuPufnzHqBiB44rfgzb8tCW7n72ZuhM2PG0 JPSh/E28pufWauRO9+peLSYNQ11bW1kYJ9/gh334= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 9BF0D385734F for ; Tue, 11 Oct 2022 12:43:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9BF0D385734F Received: by mail-lf1-x134.google.com with SMTP id bp15so20887835lfb.13 for ; Tue, 11 Oct 2022 05:43:19 -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:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TVHCy6IPVMGEVNqEXeBpUyxooH63sHQGttlWDQ0hwlY=; b=T5WKszCVT0DT7MDu4QwyfDXlzXQjvQsvFKGexV/yjmFbX1uFj04yQ2XmoTjwPn3YxE fg56/FrcmGmF4SJi5T3Y3o2rlyT+c4LmhA+6VllyjWvNV7YEqZNmYSQOwMGegbKrtIZJ JTvrCzXpTZ6l0JTtaHu9iKU5q9eIUOaUaCYMNq1nDMCrTGNxrwv/Lhzk6MZNi2Z/y/gR 5i6PH1wszEf1fe9gJKjFa64D/00uUJ7QxdDtQdIXDyWWyCxFllhaYmVgftjj42+kqYHv mLncnzvJx6KZpLwSdBd3lBm7DgXX1SsZSLv1E/0V/29kV5FJgdsWNF5zdBzCw3cLmdkC 4DyA== X-Gm-Message-State: ACrzQf030wY6IIx12W06hUqMGF+7eUw1YlNLrhSBR47ciKlnf2AucBos T3UWKzbYk6BAqq0zWvGAw4WiOdL0U3/5GkPsvEbSdfauioOtudvfJdhn3HJUz2Oyhd3MvqteBgs cr8/B/Iksupvn4oEEUi3jEG/RhsMLEPHjovpHwRW1mbsdazzhN8Ro5gLT4ZI78nhkpy8AzQtB+b 7Htbc7XBaP9boPEy9LUtE= X-Received: by 2002:ac2:5e9d:0:b0:4a0:5828:6cf8 with SMTP id b29-20020ac25e9d000000b004a058286cf8mr7916495lfq.567.1665492197115; Tue, 11 Oct 2022 05:43:17 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 05:43:15 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH 1/2] gcov: test switch/break line counts Date: Tue, 11 Oct 2022 14:43:02 +0200 Message-Id: <20221011124303.99673-1-jorgen.kvalsvik@woven-planet.global> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 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?1746395208924750424?= X-GMAIL-MSGID: =?utf-8?q?1746395208924750424?= The coverage support will under some conditions decide to split edges to accurately report coverage. By running the test suite with/without this edge splitting a small diff shows up, addressed by this patch, which should catch future regressions. Removing the edge splitting: $ diff --git a/gcc/profile.cc b/gcc/profile.cc --- a/gcc/profile.cc +++ b/gcc/profile.cc @@ -1244,19 +1244,7 @@ branch_prob (bool thunk) Don't do that when the locuses match, so if (blah) goto something; is not computed twice. */ - if (last - && gimple_has_location (last) - && !RESERVED_LOCATION_P (e->goto_locus) - && !single_succ_p (bb) - && (LOCATION_FILE (e->goto_locus) - != LOCATION_FILE (gimple_location (last)) - || (LOCATION_LINE (e->goto_locus) - != LOCATION_LINE (gimple_location (last))))) - { - basic_block new_bb = split_edge (e); - edge ne = single_succ_edge (new_bb); - ne->goto_locus = e->goto_locus; - } + if ((e->flags & (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL)) && e->dest != EXIT_BLOCK_PTR_FOR_FN (cfun)) need_exit_edge = 1; Assuming the .gcov files from make chec-gcc RUNTESTFLAGS=gcov.exp are kept: $ diff -r no-split-edge with-split-edge | grep -C 2 -E "^[<>]\s\s" diff -r sans-split-edge/gcc/gcov-4.c.gcov with-split-edge/gcc/gcov-4.c.gcov 228c228 < -: 224: break; --- > 1: 224: break; 231c231 < -: 227: break; --- > #####: 227: break; 237c237 < -: 233: break; --- > 2: 233: break; gcc/testsuite/ChangeLog: * g++.dg/gcov/gcov-1.C: Add line count check. * gcc.misc-tests/gcov-4.c: Likewise. --- gcc/testsuite/g++.dg/gcov/gcov-1.C | 8 ++++---- gcc/testsuite/gcc.misc-tests/gcov-4.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/g++.dg/gcov/gcov-1.C b/gcc/testsuite/g++.dg/gcov/gcov-1.C index 9018b9a3a73..ee383b480a8 100644 --- a/gcc/testsuite/g++.dg/gcov/gcov-1.C +++ b/gcc/testsuite/g++.dg/gcov/gcov-1.C @@ -257,20 +257,20 @@ test_switch (int i, int j) switch (i) /* count(5) */ /* branch(end) */ { - case 1: + case 1: /* count(1) */ result = do_something (2); /* count(1) */ - break; + break; /* count(1) */ case 2: result = do_something (1024); break; - case 3: + case 3: /* count(3) */ case 4: /* branch(67) */ if (j == 2) /* count(3) */ /* branch(end) */ return do_something (4); /* count(1) */ result = do_something (8); /* count(2) */ - break; + break; /* count(2) */ default: result = do_something (32); /* count(1) */ switch_m++; /* count(1) */ diff --git a/gcc/testsuite/gcc.misc-tests/gcov-4.c b/gcc/testsuite/gcc.misc-tests/gcov-4.c index 9d8ab1c1097..498d299b66b 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-4.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-4.c @@ -221,7 +221,7 @@ test_switch (int i, int j) { case 1: result = do_something (2); /* count(1) */ - break; + break; /* count(1) */ case 2: result = do_something (1024); break; @@ -230,7 +230,7 @@ test_switch (int i, int j) if (j == 2) /* count(3) */ return do_something (4); /* count(1) */ result = do_something (8); /* count(2) */ - break; + break; /* count(2) */ default: result = do_something (32); /* count(1) */ switch_m++; /* count(1) */ 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