projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2974b0
)
Let mips_cpu and mips_cpu_string be defaulted.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 12 Aug 1994 22:54:56 +0000
(22:54 +0000)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/gcc/config/mips/mips.c
b/gcc/config/mips/mips.c
index
78c87bd
..
222cde5
100644
(file)
--- 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