From 7cae778a2dc641c3e0ca1abbecd2d04bb6d574f4 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Fri, 13 Dec 1996 21:31:19 +0000 Subject: [PATCH] (override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING. From-SVN: r13308 --- gcc/config/i386/i386.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) { -- 2.30.2