From: Stan Cox Date: Fri, 13 Dec 1996 21:31:19 +0000 (+0000) Subject: (override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cae778a2dc641c3e0ca1abbecd2d04bb6d574f4;p=gcc.git (override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING. From-SVN: r13308 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index d9edb71aae3..cfeb5eb8101 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -216,10 +216,13 @@ override_options () } } - /* Get the architectural level. */ if (ix86_arch_string == (char *)0) + { 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++) if (! strcmp (ix86_arch_string, processor_target_table[i].name)) { @@ -257,7 +260,6 @@ override_options () ix86_cpu_string = PROCESSOR_DEFAULT_STRING; ix86_cpu = PROCESSOR_DEFAULT; } - /* Validate -mregparm= value */ if (i386_regparm_string) {