diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2007-10-21 10:05:43 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-10-21 10:05:43 +0000 |
commit | d375fd5e624cae69a5ee67519b645cc062f6ae8b (patch) | |
tree | 9a5321fc1de0f412d45a0160fb507e688820ea20 /gcc/config | |
parent | 8d0e5316e7e054e85102d36b96d24cce21b26bcd (diff) | |
download | gcc-d375fd5e624cae69a5ee67519b645cc062f6ae8b.zip gcc-d375fd5e624cae69a5ee67519b645cc062f6ae8b.tar.gz gcc-d375fd5e624cae69a5ee67519b645cc062f6ae8b.tar.bz2 |
gcc/
* config/mips/mips.c (mips_set_mips16_mode) Say sorry for hard-float
MIPS16 code unless using o32 or o64.
gcc/testsuite/
* gcc.target/mips/mips.exp (setup_mips_tests): Set mips_mips16.
(dg-mips-options): Skip tests that specify an ABI other than o32
and o64 if generating MIPS16 hard-float code.
From-SVN: r129530
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/mips/mips.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 92d85af..9a839c4 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -11632,6 +11632,9 @@ mips_set_mips16_mode (int mips16_p) if (flag_pic || TARGET_ABICALLS) sorry ("MIPS16 PIC"); + + if (TARGET_HARD_FLOAT_ABI && !TARGET_OLDABI) + sorry ("hard-float MIPS16 code for ABIs other than o32 and o64"); } else { |