diff mbox

[ARM] Remove unused TARGET_ARM_V*M macros

Message ID 6032034.7O5G9IxAPB@e108577-lin
State New
Headers show

Commit Message

Thomas Preudhomme May 27, 2016, 12:32 p.m. UTC
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  <thomas.preudhomme@arm.com>

        * config/arm/arm.h (TARGET_ARM_V6M): Remove.
        (TARGET_ARM_V7M): Likewise.


See patch in attachment.


Is this ok for trunk?

Best regards,

Thomas

Comments

Kyrill Tkachov May 27, 2016, 12:49 p.m. UTC | #1
On 27/05/16 13:32, Thomas Preudhomme wrote:
> 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  <thomas.preudhomme@arm.com>
>
>          * config/arm/arm.h (TARGET_ARM_V6M): Remove.
>          (TARGET_ARM_V7M): Likewise.
>
>
> See patch in attachment.
>
>
> Is this ok for trunk?

Ok if testing is clean.
Thanks for the cleanup.

Kyrill

> Best regards,
>
> Thomas
diff mbox

Patch

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				\