New Patch: Default settings of arch and cpu on ix86

Andreas Jaeger aj@arthur.rhein-neckar.de
Tue Jun 8 12:50:00 GMT 1999


Here's a new patch which only corrects the bug.  If -march is used
with a wrong value, ix86_arch gets PROCESSOR_DEFAULT (which is i486 on
my system) but the description (ix86_arch_string) gets the pentium
string which is wrong.

Andreas

1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* config/i386/i386.c (override_options): Synch ix86_arch and
	ix86_arch_string.

--- config/i386/i386.c.~2~	Tue Jun  8 18:06:56 1999
+++ config/i386/i386.c	Tue Jun  8 21:43:13 1999
@@ -309,7 +309,7 @@
     {
       error ("bad value (%s) for -march= switch", ix86_arch_string);
       ix86_arch_string = PROCESSOR_PENTIUM_STRING;
-      ix86_arch = PROCESSOR_DEFAULT;
+      ix86_arch = PROCESSOR_PENTIUM;
     }
 
   if (ix86_cpu_string == 0)

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


More information about the Gcc-patches mailing list