From 7c63210dd7d04899d31d352316fc0d686ebf67bb Mon Sep 17 00:00:00 2001 From: yroux Date: Sun, 11 Jan 2015 19:07:15 +0000 Subject: 2015-01-11 Yvan Roux Backport from trunk r218319. 2014-12-03 Andrew Stubbs Revert: 2014-09-17 Andrew Stubbs * config/arm/arm.c (arm_option_override): Reject -mfpu=neon when architecture is older than ARMv7. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@219438 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.linaro | 12 ++++++++++++ gcc/config/arm/arm.c | 3 --- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog.linaro b/gcc/ChangeLog.linaro index 6fa997e8061..f0e561c9d37 100644 --- a/gcc/ChangeLog.linaro +++ b/gcc/ChangeLog.linaro @@ -1,3 +1,15 @@ +2015-01-11 Yvan Roux + + Backport from trunk r218319. + 2014-12-03 Andrew Stubbs + + Revert: + + 2014-09-17 Andrew Stubbs + + * config/arm/arm.c (arm_option_override): Reject -mfpu=neon + when architecture is older than ARMv7. + 2015-01-11 Yvan Roux Backport from trunk r217691. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index ede05ae4387..9bfee0acde0 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2813,9 +2813,6 @@ arm_option_override (void) arm_fpu_desc = &all_fpus[arm_fpu_index]; - if (TARGET_NEON && !arm_arch7) - error ("target CPU does not support NEON"); - switch (arm_fpu_desc->model) { case ARM_FP_MODEL_VFP: -- cgit v1.2.3