This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Make mips.exp treat -mfp* as ABI options
- From: Richard Sandiford <richard at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 02 Jul 2007 20:12:41 +0100
- Subject: Make mips.exp treat -mfp* as ABI options
The earlier mipsisa*-elfoabi patch included -mgp32 -mfp64 multilibs.
These multilibs can be tested using mipsisa32r2-sim/-mfp64, with the
-mgp32 being implicit, so this patch teaches mips.exp that -mfp* is
also an ABI option. Applied to mainline.
Richard
gcc/testsuite/
* gcc.target/mips/mips.exp (setup_mips_tests): Treat -mfp* as
an ABI option.
Index: gcc/testsuite/gcc.target/mips/mips.exp
===================================================================
--- gcc/testsuite/gcc.target/mips/mips.exp (revision 126206)
+++ gcc/testsuite/gcc.target/mips/mips.exp (working copy)
@@ -79,7 +79,7 @@ proc setup_mips_tests {} {
regexp {float = "([^"]*)} $output dummy mips_float
set mips_forced_isa [regexp -- {(-mips|-march)} $compiler_flags]
- set mips_forced_abi [regexp -- {(-mgp|-mabi)} $compiler_flags]
+ set mips_forced_abi [regexp -- {(-mgp|-mfp|-mabi)} $compiler_flags]
set mips_forced_float [regexp -- {-m(hard|soft)-float} $compiler_flags]
}