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.preudho...@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
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				\

Reply via email to