public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53201] New: [4.8 Regression] unrecognized command line option '-mno-lzcnt-mno-hle
@ 2012-05-02 21:07 burnus at gcc dot gnu.org
  2012-05-03  4:18 ` [Bug target/53201] " kirill.yukhin at intel dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-05-02 21:07 UTC (permalink / raw)
  To: gcc-bugs

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,


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-03 10:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-02 21:07 [Bug target/53201] New: [4.8 Regression] unrecognized command line option '-mno-lzcnt-mno-hle burnus at gcc dot gnu.org
2012-05-03  4:18 ` [Bug target/53201] " kirill.yukhin at intel dot com
2012-05-03  5:16 ` kirill.yukhin at intel dot com
2012-05-03  6:17 ` jakub at gcc dot gnu.org
2012-05-03  6:50 ` kyukhin at gcc dot gnu.org
2012-05-03  7:31 ` jakub at gcc dot gnu.org
2012-05-03 10:43 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).