iris6.h (DRIVER_SELF_SPECS): Check -march as well as -mipsN before forcing a default...
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 17 Apr 2005 07:52:22 +0000 (07:52 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 17 Apr 2005 07:52:22 +0000 (07:52 +0000)
* config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as
-mipsN before forcing a default of -mips2.

From-SVN: r98265

gcc/ChangeLog
gcc/config/mips/iris6.h

index 4698d048c5cdf2f2379bf0157ef683d13811089e..94dc52b65d78bb50f8d8a6aec8ce4713c1e781a1 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-17  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as
+       -mipsN before forcing a default of -mips2.
+
 2005-04-17  Kazu Hirata  <kazu@cs.umass.edu>
 
        * predict.h (IS_TAKEN): Remove.
index b64d371b8f344e85057539272c40646ff8b30915..4e91bca1635462ff48bc2b8eb3e3b7a7fb2f3bb5 100644 (file)
@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA.  */
    easier to write.  Default to the mips2 ISA for the O32 ABI.  */
 #define DRIVER_SELF_SPECS \
   "%{!mabi=*: -mabi=n32}", \
-  "%{mabi=32: %{!mips*: -mips2}}"
+  "%{mabi=32: %{!mips*: %{!march*: -mips2}}}"
 
 /* Force the generation of dwarf .debug_frame sections even if not
    compiling -g.  This guarantees that we can unwind the stack.  */