From patchwork Mon Nov 4 01:54:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mingjie Xing X-Patchwork-Id: 288099 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6EC0F2C00AC for ; Mon, 4 Nov 2013 12:54:38 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=foPMEI9wPrTYv1Th1IBMXijVjUm5NahlCdWCmMeFhMuYlk c1vgRXvse+1Sfp93iJNUOnoFsyxShBu62+ZmxeWaNeO6GAyfl0uY//Hvh15VFqOt KPQ9QBdFovv8Tgk5/g1AY63wWGg0vh9V2FhS6zDI+I/BQ79Ee1HgDW+d8V4/A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=Q711vumjz6qZZJsatCkJtq9WGas=; b=qTmkT1Xf4tdwNgnUz+Ou z5hiWTAgUKAQ+lLq4SrPPJMoJeuejeJMkjw8ImHqWi6wN+sAvscXKWdkalC6l+R9 GJTZoiNOCcTNVz1PVNb5yzv/mUG+MPzBFqYfgxGooOnSXTFP5XMPYChZln2OsNQu sMPkdZ2/kREBkMiJ+148y+g= Received: (qmail 22965 invoked by alias); 4 Nov 2013 01:54:27 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 22626 invoked by uid 89); 4 Nov 2013 01:54:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL, BAYES_50, FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED, RDNS_NONE, SPF_PASS, URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-ie0-f175.google.com Received: from Unknown (HELO mail-ie0-f175.google.com) (209.85.223.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 04 Nov 2013 01:54:24 +0000 Received: by mail-ie0-f175.google.com with SMTP id aq17so11037055iec.6 for ; Sun, 03 Nov 2013 17:54:16 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.50.225.39 with SMTP id rh7mr10195301igc.10.1383530056702; Sun, 03 Nov 2013 17:54:16 -0800 (PST) Received: by 10.50.51.101 with HTTP; Sun, 3 Nov 2013 17:54:16 -0800 (PST) Date: Mon, 4 Nov 2013 09:54:16 +0800 Message-ID: Subject: [driver] Force options Wa, Wl, Wp, to take a mandatory argument From: Mingjie Xing To: gcc-patches X-IsSubscribed: yes Hello, This patch forces options Wa, Wl, Wp, to take a mandatory argument, which can fix the bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55651. Tested on i686-pc-linux-gnu. 2013-11-04 Mingjie Xing * common.opt (Wa, Wl, Wp,): Change JoinedOrMissing to Joined. Is it OK? Mingjie Index: gcc/common.opt =================================================================== --- gcc/common.opt (revision 204285) +++ gcc/common.opt (working copy) @@ -497,13 +497,13 @@ Common RejectNegative Warning Alias(Wext This switch is deprecated; use -Wextra instead Wa, -Driver JoinedOrMissing +Driver Joined Wl, -Driver JoinedOrMissing +Driver Joined Wp, -Driver JoinedOrMissing +Driver Joined Waggregate-return Common Var(warn_aggregate_return) Warning