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 74a936b630f0b1bb9b6539f076ce4173dc3678a3..4cec626296fd798edb5a1f103c4702db51e09315 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 8188c7bbc1fb81a03c79313b21cb92dd13df2efb..0da1adb872044af3a6e1b67b4b333afe9da9ae6e 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;
        }
     }