This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Re: gcc --version reports wrong year
David Taylor wrote:
Take a recent trunk build of gcc and do:
gcc --version
it'll report the copyright year as 2006.
Thanks! This is now PR 31050.
It also affects 4.2, and since we're so close to release, I've given it
a severity of "blocker". I'll take care of testing the patch, and plan
to commit it as obvious to trunk and 4.2 if it passes regtesting.
I don't have a 4.1 tree handy, but 4.1 probably suffers from the same
problem. Could someone else backport it there?
- Brooks
-------------------------------------------------------------------
2007/03/05 David Taylor <dtaylor@emc.com>
* gcc.c: Correct copyright date in --version output.
-------------------------------------------------------------------
Index: gcc/gcc.c
===================================================================
--- gcc/gcc.c (revision 122554)
+++ gcc/gcc.c (working copy)
@@ -3572,7 +3572,7 @@
{
/* translate_options () has turned --version into -fversion. */
printf (_("%s (GCC) %s\n"), programname, version_string);
- printf ("Copyright %s 2006 Free Software Foundation, Inc.\n",
+ printf ("Copyright %s 2007 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"),