summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-05-11 16:56:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-05-11 16:56:09 +0000
commitad210f48591fede9c20726b8f36d2991a85e3b50 (patch)
treef76ca120923445e0359ce6df96fd172bdebb2336 /gnu
parentcd94f64b4206409b7acf62500da883373312734e (diff)
default to march=i486 for gcc4 as we no longer run on 386 class machines
and this lets gcc emit code with xadd/cmpxchg instructions. ok kettenis@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/gcc/config/i386/i386.c b/gnu/gcc/gcc/config/i386/i386.c
index 59d8220f7e6..5abc9432967 100644
--- a/gnu/gcc/gcc/config/i386/i386.c
+++ b/gnu/gcc/gcc/config/i386/i386.c
@@ -1614,7 +1614,7 @@ override_options (void)
"-mtune=generic instead as appropriate.");
if (!ix86_arch_string)
- ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386";
+ ix86_arch_string = TARGET_64BIT ? "x86-64" : "i486";
if (!strcmp (ix86_arch_string, "generic"))
error ("generic CPU can be used only for -mtune= switch");
if (!strncmp (ix86_arch_string, "generic", 7))