From patchwork Tue May 17 02:14:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kugan Vivekanandarajah X-Patchwork-Id: 67921 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp1833361qge; Mon, 16 May 2016 19:14:57 -0700 (PDT) X-Received: by 10.98.103.28 with SMTP id b28mr50925101pfc.155.1463451297863; Mon, 16 May 2016 19:14:57 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id g89si735028pfa.245.2016.05.16.19.14.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 19:14:57 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-427416-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-427416-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-427416-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=xjhFYrUZDgA/+IVbqeqyWSq157FLdOGtp3IB2qk1vVztJ/ WAXpGcipQHLXinx5iRfiPJGXo8gZ4HTAhMmwlPqWIv675Z4bOsoLiTFYqTeeuIaa f8zh1g8vU4TX6MTykonOd6ohUWWi5m/of0e2Psbsf9+SMux7nZ72sJd3SEJKo= 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 :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=GPRGfmKPphD65oxRQP8VOSmllsk=; b=JLeaFCYs9bk9jilr5YHo EDFoVaJV9II2AEAkHU3u4LugBKPUu0Rrt4kcCDugcf7kIxnp2e1lDSRusBBMJoRm 8K0XVDqfq8D29uyuiUR+dnyAIJxMdHCHvd5YttMGfcYAg+2ivD8mw15Ds4ztiOyD 2BX6VLirf3+GRyutKE2TUNM= Received: (qmail 117550 invoked by alias); 17 May 2016 02:14:42 -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 117533 invoked by uid 89); 17 May 2016 02:14:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=2016-05-17, Hx-languages-length:1154, 20160517 X-HELO: mail-qg0-f51.google.com Received: from mail-qg0-f51.google.com (HELO mail-qg0-f51.google.com) (209.85.192.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 17 May 2016 02:14:31 +0000 Received: by mail-qg0-f51.google.com with SMTP id f74so1284104qge.2 for ; Mon, 16 May 2016 19:14:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=fo178vnrxRwXNPz5J0yINHru+ehRilmidQA3HkBae7Q=; b=MJVXen9+Fi3/C+6XhDVWP8ULqUujFrwtDtbk+2NT9Bs1L/wajAUm4ERY1cGDWASi60 m2GPQCgTJsxC/rYDBXFR185xt2EPak705GBIscFU/1th4X4a4+92429GZug+A5X5o+nM b9zdANrmF9pYGchSjAbIh/vdGF81Oo2jRs74x9pIu096ZFznKz/ffxqMuqGb4pg/+lfi o7cn6VbWOXyzlWrsUsRY3pnAll7pL0dfnO3M1i/ZQTupCHnzqFzQJwMapVw2drWat5R6 oZWRgN8RqHt1Zj19nVfyLfwXmTg5EyifJo76PtAtDr1aTEW471TDIrMFgiDIytqZawwG gDJA== X-Gm-Message-State: AOPr4FUlFZEp0w+q6jA82eRg8Wd+i4QJ3i2cNRa/FbLUACViJjCMCweRP7VzVe7tKFfgdqeBassZwFOJh3637aF2 MIME-Version: 1.0 X-Received: by 10.140.18.197 with SMTP id 63mr10002385qgf.18.1463451268974; Mon, 16 May 2016 19:14:28 -0700 (PDT) Received: by 10.200.42.71 with HTTP; Mon, 16 May 2016 19:14:28 -0700 (PDT) Date: Tue, 17 May 2016 12:14:28 +1000 Message-ID: Subject: [AARCH64] Remove static variable all_extensions from aarch64.c From: Kugan Vivekanandarajah To: James Greenhalgh , Marcus Shawcroft , "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes Hi, static variable all_extensions in aarch64.c is not used and therefore dead. I don’t see any reason why it should be there. Attached patch removes this. Bootstrapped on aarch64-linux-gnu. Regression testing is ongoing. Is this OK for trunk? Thanks, Kugan gcc/ChangeLog: 2016-05-17 Kugan Vivekanandarajah * config/aarch64/aarch64.c (all_extensions): Removed unused static variable. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index e081b16..00ab85b 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -663,16 +663,6 @@ struct aarch64_option_extension const unsigned long flags_off; }; -/* ISA extensions in AArch64. */ -static const struct aarch64_option_extension all_extensions[] = -{ -#define AARCH64_OPT_EXTENSION(NAME, X, FLAGS_ON, FLAGS_OFF, FEATURE_STRING) \ - {NAME, FLAGS_ON, FLAGS_OFF}, -#include "aarch64-option-extensions.def" -#undef AARCH64_OPT_EXTENSION - {NULL, 0, 0} -}; - typedef enum aarch64_cond_code { AARCH64_EQ = 0, AARCH64_NE, AARCH64_CS, AARCH64_CC, AARCH64_MI, AARCH64_PL,