Let mips_cpu and mips_cpu_string be defaulted.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 12 Aug 1994 22:54:56 +0000 (22:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 12 Aug 1994 22:54:56 +0000 (22:54 +0000)
From-SVN: r7908

gcc/config/mips/mips.c

index 78c87bd..222cde5 100644 (file)
@@ -3110,6 +3110,14 @@ override_options ()
          mips_cpu = PROCESSOR_R4000;
          break;
        }
+
+#ifdef MIPS_CPU_DEFAULT
+      if (mips_isa_string == (char *)0)
+       {
+         mips_cpu_string = MIPS_CPU_STRING_DEFAULT;
+         mips_cpu = MIPS_CPU_DEFAULT;
+       }
+#endif
     }
 
   else