Patchwork Fix typos in fortran/lang.opt

login
register
mail settings
Submitter Joseph S. Myers
Date Aug. 20, 2010, 3:29 p.m.
Message ID <Pine.LNX.4.64.1008201527350.4914@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/62287/
State New
Headers show

Comments

Joseph S. Myers - Aug. 20, 2010, 3:29 p.m.
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.

Patch

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.