diff options
author | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-28 16:45:19 +0000 |
---|---|---|
committer | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-28 16:45:19 +0000 |
commit | a73d7011c2a8ce2d64f44f845fe73e963fb48fab (patch) | |
tree | da7db5dab5a00fc3dcb07485d82f7d2a2f803cbd /gcc/config | |
parent | 65a8cc66f901b3d3ca9ebaa6c1a620ce366257ed (diff) | |
download | gcc-a73d7011c2a8ce2d64f44f845fe73e963fb48fab.tar.gz |
FPA error for AAPCS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146906 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 055cb36d75d..a7847f3235d 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -1504,6 +1504,10 @@ arm_override_options (void) if (arm_float_abi == ARM_FLOAT_ABI_HARD && TARGET_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. VFP and iWMMXt can theoretically coexist, but it's unlikely such silicon will ever exist. GCC makes no attempt to support this combination. */ |