mips.c (override_options): Don't override N32 for a 64-bit ISA.
authorRichard Henderson <rth@redhat.com>
Wed, 17 Apr 2002 00:43:04 +0000 (17:43 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 17 Apr 2002 00:43:04 +0000 (17:43 -0700)
        * config/mips/mips.c (override_options): Don't override N32 for
        a 64-bit ISA.

From-SVN: r52389

gcc/ChangeLog
gcc/config/mips/mips.c

index 74a936b..4cec626 100644 (file)
@@ -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.
index 8188c7b..0da1adb 100644 (file)
@@ -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;
        }
     }