aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2001-09-07 12:52:49 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2001-09-07 12:52:49 +0000
commit1dee47c328c72ff265a18e00d3b8b6d559634e85 (patch)
tree045a23594d3e1a94ab8a52a604f9be8795f682c6 /gcc
parent4cba3b67af8cfb6e4507615aeaacc498fb158a20 (diff)
downloadgcc-1dee47c328c72ff265a18e00d3b8b6d559634e85.zip
gcc-1dee47c328c72ff265a18e00d3b8b6d559634e85.tar.gz
gcc-1dee47c328c72ff265a18e00d3b8b6d559634e85.tar.bz2
mips.c (override_options): Allow abi32 with 64 bit registers.
* config/mips/mips.c (override_options): Allow abi32 with 64 bit registers. From-SVN: r45464
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 21d0244..3dffbb6 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): Allow abi32 with 64 bit
+ registers.
+
2001-09-07 Andreas Jaeger <aj@suse.de>
* i386.h (TARGET_SWITCHES): Fix descriptions.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 583cf73..db32d47 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4819,9 +4819,8 @@ override_options ()
/* If both ABI and ISA were specified, check for conflicts. */
else if (mips_isa_string && mips_abi_string)
{
- if ((! ISA_HAS_64BIT_REGS && (mips_abi == ABI_N32 || mips_abi == ABI_64
+ if (! ISA_HAS_64BIT_REGS && (mips_abi == ABI_N32 || mips_abi == ABI_64
|| mips_abi == ABI_O64))
- || (ISA_HAS_64BIT_REGS && mips_abi == ABI_32))
error ("-mabi=%s does not support -mips%d", mips_abi_string, mips_isa);
}