Message ID | 20240227101417.2031380-1-rearnsha@arm.com |
---|---|
State | New |
Headers | show |
Series | arm: warn about deprecation of iwmmx in mmintrin.h | expand |
diff --git a/gcc/config/arm/mmintrin.h b/gcc/config/arm/mmintrin.h index 07659502bf2..e9cc3ddd7ab 100644 --- a/gcc/config/arm/mmintrin.h +++ b/gcc/config/arm/mmintrin.h @@ -28,6 +28,9 @@ #error mmintrin.h included without enabling WMMX/WMMX2 instructions (e.g. -march=iwmmxt or -march=iwmmxt2) #endif +#ifndef __ENABLE_DEPRECATED_IWMMXT +#warning support for WMMX/WMMX2 is deprecated and will be removed in GCC 15. Define __ENABLE_DEPRECATED_IWMMXT to suppress this warning +#endif #if defined __cplusplus extern "C" {