Commit 7cae778a by Stan Cox

(override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING.

From-SVN: r13308
parent aff48e32
...@@ -216,10 +216,13 @@ override_options () ...@@ -216,10 +216,13 @@ override_options ()
} }
} }
/* Get the architectural level. */
if (ix86_arch_string == (char *)0) if (ix86_arch_string == (char *)0)
{
ix86_arch_string = PROCESSOR_PENTIUM_STRING; ix86_arch_string = PROCESSOR_PENTIUM_STRING;
if (ix86_cpu_string == (char *)0)
ix86_cpu_string = PROCESSOR_DEFAULT_STRING;
}
for (i = 0; i < ptt_size; i++) for (i = 0; i < ptt_size; i++)
if (! strcmp (ix86_arch_string, processor_target_table[i].name)) if (! strcmp (ix86_arch_string, processor_target_table[i].name))
{ {
...@@ -257,7 +260,6 @@ override_options () ...@@ -257,7 +260,6 @@ override_options ()
ix86_cpu_string = PROCESSOR_DEFAULT_STRING; ix86_cpu_string = PROCESSOR_DEFAULT_STRING;
ix86_cpu = PROCESSOR_DEFAULT; ix86_cpu = PROCESSOR_DEFAULT;
} }
/* Validate -mregparm= value */ /* Validate -mregparm= value */
if (i386_regparm_string) if (i386_regparm_string)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment