This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/53201] New: [4.8 Regression] unrecognized command line option '-mno-lzcnt-mno-hle


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53201

             Bug #: 53201
           Summary: [4.8 Regression] unrecognized command line option
                    '-mno-lzcnt-mno-hle
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
                CC: kyukhin@gcc.gnu.org


The patch at http://gcc.gnu.org/ml/gcc-cvs/2012-05/msg00047.html seemingly
misses a " ".

Compiling a file with -march=native fails here with:

  unrecognized command line option '-mno-lzcnt-mno-hle


Untested patch. (Note: An all language bootstrapping takes too long on my
machine - thus, I'd prefer if someone else handles this. Thanks to Joseph for
the pointer.)


--- config/i386/driver-i386.c   (Revision 187062)
+++ config/i386/driver-i386.c
@@ -728,7 +728,7 @@ const char *host_detect_local_cpu (int argc, const
       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" : " -mno-lzcnt";
-      const char *hle = has_hle ? " -mhle" : "-mno-hle";
+      const char *hle = has_hle ? " -mhle" : " -mno-hle";

       options = concat (options, cx16, sahf, movbe, ase, pclmul,
                        popcnt, abm, lwp, fma, fma4, xop, bmi, bmi2,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]