This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[driver] Force options Wa, Wl, Wp, to take a mandatory argument
- From: Mingjie Xing <mingjie dot xing at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 4 Nov 2013 09:54:16 +0800
- Subject: [driver] Force options Wa, Wl, Wp, to take a mandatory argument
- Authentication-results: sourceware.org; auth=none
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