gcc/testsuite/
* lib/target-supports.exp (check_effective_target_mips_soft_float):
Return true for MIPS16 targets.
From-SVN: r130433
+2007-11-26 Richard Sandiford <rsandifo@nildram.co.uk>
+
+ * lib/target-supports.exp (check_effective_target_mips_soft_float):
+ Return true for MIPS16 targets.
+
2007-11-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/33152
} "-mpaired-single"]
}
-# Return true if we're testing a soft-float MIPS target.
+# Return true if we're testing a MIPS target that does not have access
+# to FPU instructions.
proc check_effective_target_mips_soft_float { } {
return [check_no_compiler_messages mips_soft_float assembly {
- #ifndef __mips_soft_float
+ #if !defined (__mips_soft_float) && !defined (__mips16)
#error FOO
#endif
}]