From: yroux Date: Sun, 11 Jan 2015 19:07:15 +0000 (+0000) Subject: 2015-01-11 Yvan Roux X-Git-Tag: upstream/4.9.2.0~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1397d35774b4058335b8e3d3b00e2207c8e4d46;p=platform%2Fupstream%2Fgcc49.git 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 --- 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: