aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
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/config
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/config')
-rw-r--r--gcc/config/mips/mips.c3
1 files changed, 1 insertions, 2 deletions
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);
}