diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm_mve.h | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2325476..0847c48 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-04-03 Andre Vieira <andre.simoesdiasvieira@arm.com> + + * config/arm/arm_mve.h: Condition the header file on __ARM_FEATURE_MVE. + 2020-04-03 Tamar Christina <tamar.christina@arm.com> PR target/94396 diff --git a/gcc/config/arm/arm_mve.h b/gcc/config/arm/arm_mve.h index 47a6268..1c2ee9b 100644 --- a/gcc/config/arm/arm_mve.h +++ b/gcc/config/arm/arm_mve.h @@ -24,11 +24,9 @@ #if __ARM_BIG_ENDIAN #error "MVE intrinsics are not supported in Big-Endian mode." -#endif - -#if !__ARM_FEATURE_MVE +#elif !__ARM_FEATURE_MVE #error "MVE feature not supported" -#endif +#else #include <stdint.h> #ifndef __cplusplus @@ -27554,4 +27552,5 @@ extern void *__ARM_undef; } #endif +#endif /* __ARM_FEATURE_MVE */ #endif /* _GCC_ARM_MVE_H. */ |