From patchwork Thu Aug 10 17:50:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 800301 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-460194-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="MhnykbbL"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xSwfy58Grz9s82 for ; Fri, 11 Aug 2017 03:51:21 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:message-id:to:subject:reply-to; q=dns; s=default; b=r1y9SC XB/pAhfMGK7e3DP9wF7/xtKuFg6zlFGEK30qnxu4i1TFcsfhbbifovDPQ2sPwC2w qjq4c7SBQSfhN778Tk9BsxUsHIasjBwjvw++G7DqJIgUP2hRiFgejrxBgjQfbewA JV6j//3VJ1DQfqcEUpKhdkUOq2Ldt+wIUp/bY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:message-id:to:subject:reply-to; s=default; bh=T6mNpuQikxHX HvigPhjaR296Tbs=; b=MhnykbbLkqxKUng9yYWe4zMLkLqHYsCRRxhAjeCr9Ssa vssd1E4njYZiNL3rYB/ovvk+kAgprSVLlCofw9E8TcjzbJKDMzx6pdZXZIGHrqWN Fi6i5KD3b4EiBT2xlaHSbk8JoqSSKkVoy/sFnDZtOlCXnpcXvpAI7OR3jsJWKnA= Received: (qmail 108011 invoked by alias); 10 Aug 2017 17:51:07 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 107888 invoked by uid 89); 10 Aug 2017 17:51:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: camailhost.cavium.com Received: from camailhost.cavium.com (HELO camailhost.cavium.com) (12.108.191.230) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 Aug 2017 17:51:00 +0000 Received: from sellcey-dt.caveonetworks.com ([10.18.104.136]) by camailhost.cavium.com (8.14.7/8.14.7) with ESMTP id v7AHowIP018864 for ; Thu, 10 Aug 2017 10:50:58 -0700 Received: from sellcey-dt.caveonetworks.com (localhost [127.0.0.1]) by sellcey-dt.caveonetworks.com (8.15.2/8.15.2/Debian-3) with ESMTP id v7AHovbq012765 for ; Thu, 10 Aug 2017 10:50:57 -0700 Received: (from sellcey@localhost) by sellcey-dt.caveonetworks.com (8.15.2/8.15.2/Submit) id v7AHovJl012764; Thu, 10 Aug 2017 10:50:57 -0700 Date: Thu, 10 Aug 2017 10:50:57 -0700 From: Steve Ellcey Message-Id: <201708101750.v7AHovJl012764@sellcey-dt.caveonetworks.com> To: gcc-patches@gcc.gnu.org Subject: [Patch][AARCH64] Fix PR 81643 by modifying test case. Reply-To: sellcey@cavium.com I would like to modify gcc.target/aarch64/long_branch_1.c to no longer look for an Ltb label. After a patch to c-typeck.c to add a predict statement to GOTO statements, GCC no longer generates one of the types of long branch that this test is checking for. I tried modifying the test and creating a new test to generate this label but was unsucessful, I also added in an abort statement that would trigger when GCC tried to generate this label and then ran a bootstrap GCC build and a full testsuite run. The abort never triggered. There may still be some way to generate this label but I don't think it is worth the time to find it and so I would like to just remove the check so that the testcase no longer fails. OK for checkin? Tested on aarch64. Steve Ellcey sellcey@cavium.com 2017-08-10 Steve Ellcey PR target/81643 * gcc.target/aarch64/long_branch_1.c: Remove Ltb check. diff --git a/gcc/testsuite/gcc.target/aarch64/long_branch_1.c b/gcc/testsuite/gcc.target/aarch64/long_branch_1.c index 46f500d..9e0f423 100644 --- a/gcc/testsuite/gcc.target/aarch64/long_branch_1.c +++ b/gcc/testsuite/gcc.target/aarch64/long_branch_1.c @@ -88,4 +88,3 @@ start3: /* { dg-final { scan-assembler "Lbcond" } } */ /* { dg-final { scan-assembler "Lcb" } } */ -/* { dg-final { scan-assembler "Ltb" } } */