-mipsN before forcing a default of -mips2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98265
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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. */