Replacing old FAQ with FOM
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Sun Feb 13 03:06:00 GMT 2000
Since the old FAQ is replaced by the FAQ-o-matic, the error messages
in gcc should also refer to the new location. Here is a patch.
I propose that this patch is also installed in the release branch, so
that we can phase-out the old FAQ earlier (i.e. in a year or so).
Regards,
Martin
[gcc/Changelog]
2000-02-13 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* gcc.texi (Bug Reporting): Refer to FOM.
(Bug Lists): Likewise.
* system.h (GCCBUGURL): New preprocessor define.
* rtl.c (fancy_abort): Use it.
* gcc.c (main): Likewise.
[cp/Changelog]
2000-02-13 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* typeck2.c (my_friendly_abort): Use GCCBUGURL.
[f/Changelog]
Sun Feb 13 11:26:22 2000 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* g77spec.c (lang_specific_driver): Use GCCBUGURL.
[java/ChangeLog]
2000-02-13 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* gjavah.c (help): Use GCCBUGURL.
* jv-scan.c (help): Likewise.
* jcf-dump.c (help): Likewise.
Index: gcc.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gcc.c,v
retrieving revision 1.128
diff -u -p -r1.128 gcc.c
--- gcc.c 2000/01/20 18:25:12 1.128
+++ gcc.c 2000/02/13 10:58:42
@@ -5331,7 +5331,7 @@ main (argc, argv)
if (! verbose_flag)
{
printf ("\nFor bug reporting instructions, please see:\n");
- printf ("<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >.\n");
+ printf (GCCBUGURL ".\n");
return (0);
}
@@ -5508,7 +5508,7 @@ main (argc, argv)
if (print_help_list)
{
printf ("\nFor bug reporting instructions, please see:\n");
- printf ("<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >\n");
+ printf (GCCBUGURL "\n");
}
return (signal_count != 0 ? 2
Index: gcc.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gcc.texi,v
retrieving revision 1.41
diff -u -p -r1.41 gcc.texi
--- gcc.texi 2000/02/05 04:56:11 1.41
+++ gcc.texi 2000/02/13 10:58:51
@@ -2238,7 +2238,7 @@ convention, in which bug reports for too
to @samp{bug-foo@@gnu.org}, the address @samp{bug-gcc@@gnu.org}
may also be used; it will forward to the address given above.
-Please read @samp{<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >} for
+Please read @samp{<URL: http://gcc.gnu.org/cgi-bin/fom.cgi?file=11 >} for
bug reporting instructions before you post a bug report.
Often people think of posting bug reports to the newsgroup instead of
@@ -2262,7 +2262,7 @@ Boston, MA 02111-1307, USA
@cindex compiler bugs, reporting
You may find additional and/or more up-to-date instructions at
-@samp{<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >}.
+@samp{<URL: http://gcc.gnu.org/cgi-bin/fom.cgi?file=11 >}.
The fundamental principle of reporting bugs usefully is this:
@strong{report all the facts}. If you are not sure whether to state a
Index: rtl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/rtl.c,v
retrieving revision 1.59
diff -u -p -r1.59 rtl.c
--- rtl.c 2000/01/17 17:16:19 1.59
+++ rtl.c 2000/02/13 10:58:52
@@ -1250,8 +1250,7 @@ fancy_abort (file, line, function)
function = "?";
fatal (
"Internal compiler error in `%s', at %s:%d\n\
-Please submit a full bug report.\n\
-See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > \
-for instructions.",
+Please submit a full bug report.\n"
+"See " GCCBUGURL " for instructions.",
function, trim_filename (file), line);
}
Index: system.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/system.h,v
retrieving revision 1.59
diff -u -p -r1.59 system.h
--- system.h 2000/01/17 15:47:29 1.59
+++ system.h 2000/02/13 10:58:53
@@ -23,6 +23,11 @@ Boston, MA 02111-1307, USA. */
#ifndef __GCC_SYSTEM_H__
#define __GCC_SYSTEM_H__
+/* This is the location of the online document giving information how
+ to report bugs. If you change this string, also check for strings
+ not under control of the preprocessor. */
+#define GCCBUGURL "<URL: http://gcc.gnu.org/cgi-bin/fom.cgi?file=11 >"
+
/* We must include stdarg.h/varargs.h before stdio.h. */
#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
Index: cp/typeck2.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/typeck2.c,v
retrieving revision 1.74
diff -u -p -r1.74 typeck2.c
--- typeck2.c 2000/02/07 20:34:20 1.74
+++ typeck2.c 2000/02/13 10:59:31
@@ -316,7 +316,7 @@ my_friendly_abort (i)
else
ack ("Internal compiler error %d.", i);
ack ("Please submit a full bug report.");
- ack ("See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.");
+ ack ("See " GCCBUGURL " for instructions.");
}
else
error ("confused by earlier errors, bailing out");
@@ -331,7 +331,7 @@ my_friendly_abort (i)
error ("Internal compiler error %d.", i);
error ("Please submit a full bug report.");
- fatal ("See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.");
+ fatal ("See " GCCBUGURL " for instructions.");
}
void
Index: f/g77spec.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/f/g77spec.c,v
retrieving revision 1.23
diff -u -p -r1.23 g77spec.c
--- g77spec.c 1999/11/29 02:50:04 1.23
+++ g77spec.c 2000/02/13 10:59:32
@@ -1,5 +1,5 @@
/* Specific flags and argument handling of the Fortran front-end.
- Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -432,8 +432,8 @@ code-generation methodology, and so on.\
For more information on g77 and gcc, type the commands `info -f g77'\n\
and `info -f gcc' to read the Info documentation.\n\
\n\
-For bug reporting instructions, please see:\n\
-<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >.\n");
+For bug reporting instructions, please see:\n"
+GCCBUGURL ".\n");
exit (0);
break;
#endif
Index: java/gjavah.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/gjavah.c,v
retrieving revision 1.43
diff -u -p -r1.43 gjavah.c
--- gjavah.c 2000/02/06 04:33:10 1.43
+++ gjavah.c 2000/02/13 10:59:34
@@ -1838,7 +1838,7 @@ help ()
/* We omit -MG until it is implemented. */
printf ("\n");
printf ("For bug reporting instructions, please see:\n");
- printf ("<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >.\n");
+ printf (GCCBUGURL ".\n");
exit (0);
}
Index: java/jcf-dump.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/jcf-dump.c,v
retrieving revision 1.26
diff -u -p -r1.26 jcf-dump.c
--- jcf-dump.c 2000/02/02 21:55:39 1.26
+++ jcf-dump.c 2000/02/13 10:59:36
@@ -779,7 +779,7 @@ help ()
printf (" -v, --verbose Print extra information while running\n");
printf ("\n");
printf ("For bug reporting instructions, please see:\n");
- printf ("<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >.\n");
+ printf (GCCBUGURL ".\n");
exit (0);
}
Index: java/jv-scan.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/jv-scan.c,v
retrieving revision 1.15
diff -u -p -r1.15 jv-scan.c
--- jv-scan.c 2000/02/02 21:55:39 1.15
+++ jv-scan.c 2000/02/13 10:59:36
@@ -93,7 +93,7 @@ help ()
printf (" --version Print version number, then exit\n");
printf ("\n");
printf ("For bug reporting instructions, please see:\n");
- printf ("<URL: http://www.gnu.org/software/gcc/faq.html#bugreport >.\n");
+ printf (GCCBUGURL ".\n");
exit (0);
}
More information about the Gcc-patches
mailing list