From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id EBD31385842A; Sat, 3 Dec 2022 07:33:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EBD31385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670052783; bh=O4fsJmAd0vOx+kJn6brAW3mqCnao0ktlcuZEJy0O10I=; h=From:To:Subject:Date:From; b=nUBxchjrzf4qiYW1Q0WhnCbnTERms0cyIbOMYjyeoAHMHTmrajOgTIRbb33+YYuE7 oQasydiSg5QbpniajN4P26igYGYyKnIu9d8iMQPmn3PLDwCi0nrTrJeuDLMMLOCYrn /ogAEO2BRvu17I49+a4Ixgd438mk1HvMHDXqPRxI= 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: aee81389b5e5f40118bbe71a2e6a00625b938e45 X-Git-Newrev: 328d9cf03dd2ad6c469478d2099f5eb16dbe617a Message-Id: <20221203073303.EBD31385842A@sourceware.org> Date: Sat, 3 Dec 2022 07:33:03 +0000 (GMT) List-Id: https://gcc.gnu.org/g:328d9cf03dd2ad6c469478d2099f5eb16dbe617a commit 328d9cf03dd2ad6c469478d2099f5eb16dbe617a Author: Alexandre Oliva Date: Fri Dec 2 03:28:05 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. 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" } } */