From 3ed2c64330943275e0673cb63dccfba20751c42b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 2 Aug 2011 19:23:10 +0000 Subject: [PATCH] Fix a typo in host_detect_local_cpu. 2011-08-02 H.J. Lu * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. From-SVN: r177204 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/driver-i386.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 306d968fa1f..caf57be4efc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-08-02 H.J. Lu + + * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. + 2011-08-02 Richard Henderson PR target/49878 diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c index 5823987863f..1f6fadfe90a 100644 --- a/gcc/config/i386/driver-i386.c +++ b/gcc/config/i386/driver-i386.c @@ -718,7 +718,7 @@ const char *host_detect_local_cpu (int argc, const char **argv) const char *avx = has_avx ? " -mavx" : " -mno-avx"; const char *sse4_2 = has_sse4_2 ? " -msse4.2" : " -mno-sse4.2"; const char *sse4_1 = has_sse4_1 ? " -msse4.1" : " -mno-sse4.1"; - const char *lzcnt = has_lzcnt ? " -mlzcnt" : " -mnolzcnt"; + const char *lzcnt = has_lzcnt ? " -mlzcnt" : " -mno-lzcnt"; options = concat (options, cx16, sahf, movbe, ase, pclmul, popcnt, abm, lwp, fma, fma4, xop, bmi, tbm, -- 2.30.2