Revert r215321.
authorAndrew Stubbs <ams@codesourcery.com>
Wed, 3 Dec 2014 14:59:06 +0000 (14:59 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Wed, 3 Dec 2014 14:59:06 +0000 (14:59 +0000)
2014-12-03  Andrew Stubbs  <ams@codesourcery.com>

Revert:

2014-09-17  Andrew Stubbs  <ams@codesourcery.com>
       * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
       when architecture is older than ARMv7.

From-SVN: r218319

gcc/ChangeLog
gcc/config/arm/arm.c

index aa6175eb50cc0dbbff7d96c230dda6b653503934..67cc0e12156de39202aa5837818e432c68689525 100644 (file)
@@ -1,3 +1,11 @@
+2014-12-03  Andrew Stubbs  <ams@codesourcery.com>
+
+       Revert:
+
+       2014-09-17  Andrew Stubbs  <ams@codesourcery.com>
+       * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
+       when architecture is older than ARMv7.
+
 2014-12-03  Richard Biener  <rguenther@suse.de>
 
        * builtins.c (target_percent_c): Export.
index ceaef8da8175a8c99705e6136fa44477f2625942..0ec526b73adcca988cddc59dce4175b1db775fab 100644 (file)
@@ -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: