From patchwork Fri May 27 12:32:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 627099 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3rGQQ76fyhz9t3h for ; Fri, 27 May 2016 22:32:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Z/gweXAL; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=LErMdkSxIKcPNjHB 31uKVR7zYkQgGyCdmDSd/UXm1qhQ4OL4WgirlQd70hAe/mP5sOhfFK26qUQPXBUO Szv9dX/WZRTXtwuphTbBI0IZtzAiqlYGSRVyUD2fSaFD7EQUWOEztcQGzwiZ9snY 0az2RybVfear3E3l46fmIeXHmVM= 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:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=Hp8/6nqPe0Tend5SCmRru1 dCBZc=; b=Z/gweXALBDnU/D/SopwefQUEj3aTfVZ1ON7571AGGMLruxhLvzwEMQ XSftuJNuw605rRszSwtsp8gCtySQgzL5PmbnUtOGchyO9kn4vOml5Nl1n+fJzMYD RS0nINEvoz0wr0YFj76EJHlH0nKnpFWVrl9AewOERH1e0cziZQedA= Received: (qmail 47492 invoked by alias); 27 May 2016 12:32:23 -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 47477 invoked by uid 89); 27 May 2016 12:32:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=thumb, HContent-Transfer-Encoding:7Bit X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 May 2016 12:32:12 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6E6465F; Fri, 27 May 2016 05:32:36 -0700 (PDT) Received: from e108577-lin.localnet (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EC08B3F529; Fri, 27 May 2016 05:32:10 -0700 (PDT) From: Thomas Preudhomme To: kyrylo.tkachov@arm.com, ramana.radhakrishnan@arm.com, richard.earnshaw@arm.com, gcc-patches@gcc.gnu.org Subject: [PATCH, ARM] Remove unused TARGET_ARM_V*M macros Date: Fri, 27 May 2016 13:32:09 +0100 Message-ID: <6032034.7O5G9IxAPB@e108577-lin> User-Agent: KMail/4.13.3 (Linux/3.13.0-85-generic; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 X-IsSubscribed: yes Hi, TARGET_ARM_V6M and TARGET_ARM_v7M defined in gcc/config/arm/arm.h appears to be unused. This patch removes them. ChangeLog entry is obvious: *** gcc/ChangeLog *** 2016-05-23 Thomas Preud'homme * config/arm/arm.h (TARGET_ARM_V6M): Remove. (TARGET_ARM_V7M): Likewise. See patch in attachment. Is this ok for trunk? Best regards, Thomas diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 82755b8aa6d6b35bd83644ae1e7c2b50c94a6d70..4bb10003bc378e11a0b90187d6258cfc99fe6830 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2196,9 +2196,6 @@ extern int making_const_table; #define TARGET_ARM_ARCH \ (arm_base_arch) \ -#define TARGET_ARM_V6M (!arm_arch_notm && !arm_arch_thumb2) -#define TARGET_ARM_V7M (!arm_arch_notm && arm_arch_thumb2) - /* The highest Thumb instruction set version supported by the chip. */ #define TARGET_ARM_ARCH_ISA_THUMB \ (arm_arch_thumb2 ? 2 \