Trivial patch below committed as rev. 226734 to bring the output of “gfortran 
--version” in line with “gcc --version”.

FX



Index: ChangeLog
===================================================================
--- ChangeLog   (revision 226733)
+++ ChangeLog   (working copy)
@@ -1,3 +1,8 @@
+2015-08-08  Francois-Xavier Coudert  <fxcoud...@gcc.gnu.org>
+
+       PR fortran/67059
+       * gfortranspec.c (lang_specific_driver): Adjust --version output.
+
 2015-08-08  Bud Davis  <jmda...@link.com>
            Mikael Morin  <mik...@gcc.gnu.org>
 
Index: gfortranspec.c
===================================================================
--- gfortranspec.c      (revision 226632)
+++ gfortranspec.c      (working copy)
@@ -276,12 +276,11 @@ lang_specific_driver (struct cl_decoded_
 
        case OPT__version:
          printf ("GNU Fortran %s%s\n", pkgversion_string, version_string);
-         printf ("Copyright %s 2015 Free Software Foundation, Inc.\n\n",
+         printf ("Copyright %s 2015 Free Software Foundation, Inc.\n",
                  _("(C)"));
-         printf (_("GNU Fortran comes with NO WARRANTY, to the extent 
permitted by law.\n\
-You may redistribute copies of GNU Fortran\n\
-under the terms of the GNU General Public License.\n\
-For more information about these matters, see the file named COPYING\n\n"));
+         fputs (_("This is free software; see the source for copying 
conditions.  There is NO\n\
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.\n\n"),
+               stdout);
          exit (0);
          break;
 

Reply via email to