diff options
author | Stan Cox <coxs@gnu.org> | 1996-12-13 21:31:19 +0000 |
---|---|---|
committer | Stan Cox <coxs@gnu.org> | 1996-12-13 21:31:19 +0000 |
commit | 7cae778a2dc641c3e0ca1abbecd2d04bb6d574f4 (patch) | |
tree | 0cf4a6291231ec93f251bf99c84dbff1312c063a | |
parent | aff48e325b97d4c110288999734958f7eaa4142b (diff) | |
download | gcc-7cae778a2dc641c3e0ca1abbecd2d04bb6d574f4.zip gcc-7cae778a2dc641c3e0ca1abbecd2d04bb6d574f4.tar.gz gcc-7cae778a2dc641c3e0ca1abbecd2d04bb6d574f4.tar.bz2 |
(override_options): Set default for -mcpu to PROCESSOR_DEFAULT_STRING.
From-SVN: r13308
-rw-r--r-- | gcc/config/i386/i386.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index d9edb71..cfeb5eb 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) { |