aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-08-08 19:59:16 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-08-08 19:59:16 +0000
commitaab2b071540bff9d433c42d8e1487e2a60be7322 (patch)
tree7afba56c91894a05a66a29e83acafcee55288c38 /gcc
parentf3344569038591116cc3b5d775443a576d1b7f96 (diff)
downloadgcc-aab2b071540bff9d433c42d8e1487e2a60be7322.zip
gcc-aab2b071540bff9d433c42d8e1487e2a60be7322.tar.gz
gcc-aab2b071540bff9d433c42d8e1487e2a60be7322.tar.bz2
re PR fortran/67059 (gfortran --version output is inconsistent with the rest of GCC)
PR fortran/67059 * gfortranspec.c (lang_specific_driver): Adjust --version output. From-SVN: r226734
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/gfortranspec.c9
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index bc2a28b..d1ead45 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/67059
+ * gfortranspec.c (lang_specific_driver): Adjust --version output.
+
2015-08-08 Bud Davis <jmdavis@link.com>
Mikael Morin <mikael@gcc.gnu.org>
diff --git a/gcc/fortran/gfortranspec.c b/gcc/fortran/gfortranspec.c
index 8af4c76..fe594db 100644
--- a/gcc/fortran/gfortranspec.c
+++ b/gcc/fortran/gfortranspec.c
@@ -276,12 +276,11 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options,
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;