gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_arm_neon_ok_nocache): Don't try to test Neon
on ARM architures before v7.
From-SVN: r219602
+2015-01-14 Andrew Stubbs <ams@codesourcery.com>
+
+ * lib/target-supports.exp
+ (check_effective_target_arm_neon_ok_nocache): Don't try to test Neon
+ on ARM architures before v7.
+
2015-01-14 Andrew MacLeod <amacleod@redhat.com>
PR middle-end/59448
if { [check_no_compiler_messages_nocache arm_neon_ok object {
#include "arm_neon.h"
int dummy;
+ /* Avoid the case where a test adds -mfpu=neon, but the toolchain is
+ configured for -mcpu=arm926ej-s, for example. */
+ #if __ARM_ARCH < 7
+ #error Architecture too old for NEON.
+ #endif
} "$flags"] } {
set et_arm_neon_flags $flags
return 1