summaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog5
-rw-r--r--gcc/f/g77spec.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 2ff4d91d129..c151a1f404a 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * g77spec.c (lookup_option): Handle -fversion.
+ (lang_specific_driver): Update copyright date in --version output.
+
Mon Jan 7 00:03:42 2002 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* invoke.texi: Markup g77 as @command. Remove reference to
diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c
index 8c746ed12f5..7ba075675e9 100644
--- a/gcc/f/g77spec.c
+++ b/gcc/f/g77spec.c
@@ -1,5 +1,5 @@
/* Specific flags and argument handling of the Fortran front-end.
- Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -194,6 +194,8 @@ lookup_option (xopt, xskip, xarg, text)
opt = OPTION_syntax_only;
else if (! strcmp (text, "-dumpversion"))
opt = OPTION_version;
+ else if (! strcmp (text, "-fversion")) /* Really --version!! */
+ opt = OPTION_version;
else if (! strcmp (text, "-Xlinker")
|| ! strcmp (text, "-specs"))
skip = 1;
@@ -373,7 +375,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
case OPTION_version:
printf ("\
GNU Fortran %s (Fortran Frontend version %s)\n\
-Copyright (C) 2001 Free Software Foundation, Inc.\n\
+Copyright (C) 2002 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\