aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-04-16 17:43:04 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-04-16 17:43:04 -0700
commit409d3c6029fbe29f747035c5644d792fbc248d03 (patch)
tree8c0a06b0b88e2bee3d192cd297d22296be42e233
parentf1ba94ddd2f8e9159b45ecb79cfa39a38944933a (diff)
downloadgcc-409d3c6029fbe29f747035c5644d792fbc248d03.zip
gcc-409d3c6029fbe29f747035c5644d792fbc248d03.tar.gz
gcc-409d3c6029fbe29f747035c5644d792fbc248d03.tar.bz2
mips.c (override_options): Don't override N32 for a 64-bit ISA.
* config/mips/mips.c (override_options): Don't override N32 for a 64-bit ISA. From-SVN: r52389
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 74a936b..4cec626 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2002-04-16 Richard Henderson <rth@redhat.com>
+ * config/mips/mips.c (override_options): Don't override N32 for
+ a 64-bit ISA.
+
PR 6202
* config/mips/mips.md (can_delay): Split out of existing define_delays.
(HILO_delay): Set can_delay false.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 8188c7b..0da1adb 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4860,7 +4860,7 @@ override_options ()
{
if (! ISA_HAS_64BIT_REGS)
mips_abi = ABI_32;
- else
+ else if (mips_abi != ABI_N32)
mips_abi = ABI_64;
}
}