This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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]
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]