This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix typos in fortran/lang.opt
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Fri, 20 Aug 2010 15:29:35 +0000 (UTC)
- Subject: Fix typos in fortran/lang.opt
My previous patch marking -MD and -MMD with NoDriverArg incorrectly used
the wrong spelling NoArgDriver in fortran/lang.opt. This had no actual
effect because flags from all .opt files are combined and c-family/c.opt
has the correct spelling; I've now committed the following patch as
obvious to fix the spelling. Bootstrapped with no regressions on
x86_64-unknown-linux-gnu.
Index: lang.opt
===================================================================
--- lang.opt (revision 163406)
+++ lang.opt (working copy)
@@ -61,7 +61,7 @@
; Documented in C
MD
-Fortran Separate NoArgDriver
+Fortran Separate NoDriverArg
; Documented in C
MF
@@ -77,7 +77,7 @@
; Documented in C
MMD
-Fortran Separate NoArgDriver
+Fortran Separate NoDriverArg
; Documented in C
MP
Index: ChangeLog
===================================================================
--- ChangeLog (revision 163406)
+++ ChangeLog (working copy)
@@ -1,5 +1,9 @@
2010-08-20 Joseph Myers <joseph@codesourcery.com>
+ * lang.opt (MD, MMD): Use NoDriverArg instead of NoArgDriver.
+
+2010-08-20 Joseph Myers <joseph@codesourcery.com>
+
* gfortranspec.c (lang_specific_driver): Refer to -lgfortran in
comment, not -lg2c.
--
Joseph S. Myers
joseph@codesourcery.com