From 7c63210dd7d04899d31d352316fc0d686ebf67bb Mon Sep 17 00:00:00 2001 From: yroux Date: Sun, 11 Jan 2015 19:07:15 +0000 Subject: [PATCH] 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(-) diff --git a/gcc/ChangeLog.linaro b/gcc/ChangeLog.linaro index 6fa997e..f0e561c 100644 --- a/gcc/ChangeLog.linaro +++ b/gcc/ChangeLog.linaro @@ -1,5 +1,17 @@ 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. 2014-11-18 Jiong Wang diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index ede05ae..9bfee0a 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: -- 2.7.4