mips.exp (setup_mips_tests): Treat -mfp* as an ABI option.
authorRichard Sandiford <richard@codesourcery.com>
Mon, 2 Jul 2007 19:08:33 +0000 (19:08 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 2 Jul 2007 19:08:33 +0000 (19:08 +0000)
gcc/testsuite/
* gcc.target/mips/mips.exp (setup_mips_tests): Treat -mfp* as
an ABI option.

From-SVN: r126223

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/mips.exp

index 9e6773cb8fd04a1c583abc11d4caa3ffda81d480..7b0e98ef03bd4ee7bf095545bcc4e9612b73c873 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * gcc.target/mips/mips.exp (setup_mips_tests): Treat -mfp* as
+       an ABI option.
+
 2007-07-02  Daniel Berlin  <dberlin@dberlin.org>
 
        * gfortran.fortran-torture/compile/pr32583.f: New.
index af5b0fbdd5daff5174277444033bc6d3fc1e50ed..6c3cf070867d0f486dd426a3b014b3106219d9d7 100644 (file)
@@ -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]
 }