summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-03 14:59:06 +0000
committerams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-03 14:59:06 +0000
commitaa10117ca111a2a0f761c0c9cb796137e48c1489 (patch)
tree4d70de6af976d82b65a3cf6b1c35c1258f526d90
parentaea88c7796f79fce4dfc9bfa9cc904ee35ca9fe2 (diff)
downloadgcc-aa10117ca111a2a0f761c0c9cb796137e48c1489.tar.gz
Revert r215321.
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218319 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/arm/arm.c3
2 files changed, 8 insertions, 3 deletions
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 <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.
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: