aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1994-08-12 22:54:56 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1994-08-12 22:54:56 +0000
commita349007c7b27bdedaeffb33f32598d633565d33f (patch)
tree04d2a76e1ec842d49fc2278957b9e6a981b8e5dc /gcc
parentf2974b07109105b6d817a847d81ef5547b262609 (diff)
downloadgcc-a349007c7b27bdedaeffb33f32598d633565d33f.zip
gcc-a349007c7b27bdedaeffb33f32598d633565d33f.tar.gz
gcc-a349007c7b27bdedaeffb33f32598d633565d33f.tar.bz2
Let mips_cpu and mips_cpu_string be defaulted.
From-SVN: r7908
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 78c87bd..222cde5 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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