summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-07 21:29:05 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-07 21:29:05 +0000
commit2c90747af7b87f8105239f856726011a8b69452e (patch)
tree2fdd9a7e451e1a8c5f2a86cd4f1a1741c9830ce2
parentc90ba4eafe82821730e9c53fcdc39578768b29fc (diff)
downloadppe42-gcc-2c90747af7b87f8105239f856726011a8b69452e.tar.gz
ppe42-gcc-2c90747af7b87f8105239f856726011a8b69452e.zip
* config/mips/mips.c (override_options): Do not override ISA when ABI
specified if MIPS_CPU_STRING_DEFAULT was specified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45476 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c3e93f6c9d0..cc838bc219d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-06 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/mips/mips.c (override_options): Do not override ISA when ABI
+ specified if MIPS_CPU_STRING_DEFAULT was specified.
+
2001-09-07 Richard Henderson <rth@redhat.com>
* loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index db32d4765fc..d54854ad42d 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4804,6 +4804,7 @@ override_options ()
mips_abi = ABI_64;
}
+#ifdef MIPS_CPU_STRING_DEFAULT
/* A specified ABI defaults the ISA if it was not specified. */
else if (mips_isa_string == 0 && mips_abi_string
&& mips_abi != ABI_EABI && mips_abi != ABI_O64)
@@ -4815,6 +4816,7 @@ override_options ()
else
mips_isa = 4;
}
+#endif
/* If both ABI and ISA were specified, check for conflicts. */
else if (mips_isa_string && mips_abi_string)
OpenPOWER on IntegriCloud