[committed] update 'gcc -version' output

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Thu Jan 6 16:45:00 GMT 2005


'gfortran --version' still prints '(C) 2004'.  This patch fixes this and the
corresponding issue in gcc.c.

Committed under the obviously correct rule after verifying that 'gcc
--version' and 'gfortran --version' is changed as expected.

- Tobi

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.7046
diff -u -p -r2.7046 ChangeLog
--- ChangeLog   6 Jan 2005 14:48:50 -0000       2.7046
+++ ChangeLog   6 Jan 2005 16:40:23 -0000
@@ -1,3 +1,7 @@
+2005-01-06  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * gcc.c (process_command): Change year in 'gcc --version' to 2005.
+
 2005-01-05  Daniel Berlin  <dberlin@dberlin.org>

        Fix PR middle-end/19286
Index: gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.442
diff -u -p -r1.442 gcc.c
--- gcc.c       15 Dec 2004 23:50:26 -0000      1.442
+++ gcc.c       6 Jan 2005 16:40:25 -0000
@@ -1,6 +1,7 @@
 /* Compiler driver program that can handle many languages.
    Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+   1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation,
+   Inc.

 This file is part of GCC.

@@ -3411,7 +3412,7 @@ process_command (int argc, const char **
        {
          /* translate_options () has turned --version into -fversion.  */
          printf (_("%s (GCC) %s\n"), programname, version_string);
-         printf ("Copyright %s 2004 Free Software Foundation, Inc.\n",
+         printf ("Copyright %s 2005 Free Software Foundation, Inc.\n",
                  _("(C)"));
          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"),
Index: fortran/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/ChangeLog,v
retrieving revision 1.282
diff -u -p -r1.282 ChangeLog
--- fortran/ChangeLog   3 Jan 2005 21:43:48 -0000       1.282
+++ fortran/ChangeLog   6 Jan 2005 16:40:27 -0000
@@ -1,3 +1,8 @@
+2005-01-06  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * gfortranspec.c (lang_specific_driver): Change year to 2005 in
+       output of 'gfortran --version'.
+
 2005-01-03  Steven G. Kargl  <kargls@comcast.net>

        * arith.c: Add system.h; remove string.h
Index: fortran/gfortranspec.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/gfortranspec.c,v
retrieving revision 1.7
diff -u -p -r1.7 gfortranspec.c
--- fortran/gfortranspec.c      25 Nov 2004 11:13:35 -0000      1.7
+++ fortran/gfortranspec.c      6 Jan 2005 16:40:27 -0000
@@ -1,6 +1,6 @@
 /* Specific flags and argument handling of the Fortran front-end.
-   Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
-   Foundation, Inc.
+   Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free
+   Software Foundation, Inc.

 This file is part of GCC.

@@ -347,7 +347,7 @@ lang_specific_driver (int *in_argc, cons
        case OPTION_version:
          printf ("\
 GNU Fortran 95 (GCC %s)\n\
-Copyright (C) 2004 Free Software Foundation, Inc.\n\
+Copyright (C) 2005 Free Software Foundation, Inc.\n\
 \n\
 GNU Fortran comes with NO WARRANTY, to the extent permitted by law.\n\
 You may redistribute copies of GNU Fortran\n\



More information about the Fortran mailing list