This is the mail archive of the gcc-patches@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]

[driver] Force options Wa, Wl, Wp, to take a mandatory argument


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  <mingjie.xing@gmail.com>

        * 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

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