From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5442 invoked by alias); 2 May 2012 21:07:39 -0000 Received: (qmail 5423 invoked by uid 22791); 2 May 2012 21:07:38 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_LZ,TW_ZC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 May 2012 21:07:15 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53201] New: [4.8 Regression] unrecognized command line option '-mno-lzcnt-mno-hle Date: Wed, 02 May 2012 21:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg00183.txt.bz2 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,