This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch ARM] Emit error on using FPA with EABI.


On Tue, 2009-04-28 at 17:12 +0100, Ramana Radhakrishnan wrote:
> Hi, 
> 
> We presently allow -mfpu=fpa and friends to be used for the aapcs and
> aapcs-linux abis. This patch emits an error message in such cases. Ok to
> commit ?
> 
> 
> 2009-04-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
> 
> 	* config/arm/arm.c (arm_override_options): Emit error on using
> 	fpa with EABI.
>  

+  if ((arm_abi == ARM_ABI_AAPCS 
+       || arm_abi == ARM_ABI_AAPCS_LINUX)
+      && (arm_fp_model == ARM_FP_MODEL_FPA))
+    error ("FPA is unsupported in EABI");
+

No, just use TARGET_AAPCS_BASED.  

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]