diff mbox

Make lang_specific_driver use cl_decoded_option structures

Message ID Pine.LNX.4.64.1008201525070.4914@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Aug. 20, 2010, 3:25 p.m. UTC
On Fri, 20 Aug 2010, Tobias Burnus wrote:

> > * The Fortran driver has a comment about "-lg2c -lm" but it always
> >    appears to use -lgfortran, not -lg2c.  Left unchanged.
> 
> That's probably a copy from g77, which used g2c. Could you change this to
> -lgfortran.

I've committed this patch.
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 163405)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2010-08-20  Joseph Myers  <joseph@codesourcery.com>
+
+	* gfortranspec.c (lang_specific_driver): Refer to -lgfortran in
+	comment, not -lg2c.
+
 2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
 
 	* trans-openmp.c: Use FOR_EACH_VEC_ELT.
Index: gfortranspec.c
===================================================================
--- gfortranspec.c	(revision 163405)
+++ gfortranspec.c	(working copy)
@@ -477,7 +477,7 @@ 
       append_arg (argv[i]);
     }
 
-  /* Append `-lg2c -lm' as necessary.  */
+  /* Append `-lgfortran -lm' as necessary.  */
 
   if (library)
     {				/* Doing a link and no -nostdlib.  */