From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 4C2B4385B18B; Thu, 1 Dec 2022 07:40:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C2B4385B18B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669880403; bh=0XEwdxrclu80j4Z48vPRfZscLuHRncuFOv8bJr5MT/k=; h=From:To:Subject:Date:From; b=FEiWAkD5y9eR+ZWAKvWw8NQY1lU5SjWk05YRDumXsBup/BmU18WiKa7KHtPC2Q6G0 uREzxviIKo4CDod0bc1MstWu+vrghMe1p/B99A/15hSbcP9ZtT+mSBY5V2PgGdiPns BbfTOSTrc2I1+BnSHZ6FYm1ie2BNNUNWu2N6t0Tk= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] [PR42093] [arm] [thumb2] disable tree-dce for test X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: c3dea07dfda1172381a3b99efc00ad2bf042533a X-Git-Newrev: 91062e3e38f5b61998d30a51ea8404626b9482e6 Message-Id: <20221201074003.4C2B4385B18B@sourceware.org> Date: Thu, 1 Dec 2022 07:40:03 +0000 (GMT) List-Id: https://gcc.gnu.org/g:91062e3e38f5b61998d30a51ea8404626b9482e6 commit 91062e3e38f5b61998d30a51ea8404626b9482e6 Author: Alexandre Oliva Date: Thu Dec 1 04:38:47 2022 -0300 [PR42093] [arm] [thumb2] disable tree-dce for test CD-DCE introduces blocks to share common PHI nodes, which replaces a backwards branch that used to prevent the thumb2 jump table shortening that PR42093 tested for. In order to keep on testing that the backward branch prevents the jumptable shortening, disable tree-dce. for gcc/testsuite/ChangeLog PR target/42093 * gcc.target/arm/pr42093.c: Disable tree-dce. Change-Id: I1a22abe24d08cb91ee0a93aea8d09161da8a4b24 TN: VB12-015 Diff: --- gcc/testsuite/gcc.target/arm/pr42093.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/pr42093.c b/gcc/testsuite/gcc.target/arm/pr42093.c index 7ba2f933eef..69b1470607c 100644 --- a/gcc/testsuite/gcc.target/arm/pr42093.c +++ b/gcc/testsuite/gcc.target/arm/pr42093.c @@ -1,4 +1,4 @@ -/* { dg-options "-mthumb -O2 -fno-reorder-blocks" } */ +/* { dg-options "-mthumb -O2 -fno-reorder-blocks -fno-tree-dce" } */ /* { dg-require-effective-target arm_thumb2_ok } */ /* { dg-final { scan-assembler-not "tbb" } } */ /* { dg-final { scan-assembler-not "tbh" } } */