Commit 0c48a567 by Ramana Radhakrishnan Committed by Ramana Radhakrishnan

FPA error for AAPCS

From-SVN: r146906
parent e6a5e544
2009-04-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (arm_override_options): Emit error on using
fpa with AAPCS.
2009-04-28 Uros Bizjak <ubizjak@gmail.com> 2009-04-28 Uros Bizjak <ubizjak@gmail.com>
PR rtl-optimization/39914 PR rtl-optimization/39914
......
...@@ -1504,6 +1504,10 @@ arm_override_options (void) ...@@ -1504,6 +1504,10 @@ arm_override_options (void)
if (arm_float_abi == ARM_FLOAT_ABI_HARD && TARGET_VFP) if (arm_float_abi == ARM_FLOAT_ABI_HARD && TARGET_VFP)
sorry ("-mfloat-abi=hard and VFP"); sorry ("-mfloat-abi=hard and VFP");
if (TARGET_AAPCS_BASED
&& (arm_fp_model == ARM_FP_MODEL_FPA))
error ("FPA is unsupported in the AAPCS");
/* FPA and iWMMXt are incompatible because the insn encodings overlap. /* FPA and iWMMXt are incompatible because the insn encodings overlap.
VFP and iWMMXt can theoretically coexist, but it's unlikely such silicon VFP and iWMMXt can theoretically coexist, but it's unlikely such silicon
will ever exist. GCC makes no attempt to support this combination. */ will ever exist. GCC makes no attempt to support this combination. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment