From: Andrew Stubbs Date: Wed, 3 Dec 2014 14:59:06 +0000 (+0000) Subject: Revert r215321. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fb3968c14264319572e2fe2cdf29c869ead6c30;p=gcc.git Revert r215321. 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. From-SVN: r218319 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa6175eb50c..67cc0e12156 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +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. + 2014-12-03 Richard Biener * builtins.c (target_percent_c): Export. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index ceaef8da817..0ec526b73ad 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2824,9 +2824,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: