* config/arm/arm_neon.h: Show error if using with soft-float ABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234023
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-03-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm_neon.h: Show error if using with soft-float ABI.
+
2016-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/62281
#ifndef _GCC_ARM_NEON_H
#define _GCC_ARM_NEON_H 1
+#ifndef __ARM_FP
+#error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softp or -mfloat-abi=hard"
+#else
+
#pragma GCC push_options
#pragma GCC target ("fpu=neon")
#pragma GCC pop_options
#endif
+#endif