This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
New bug reporting address
- To: gcc-patches at gcc dot gnu dot org
- Subject: New bug reporting address
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Fri, 18 Feb 2000 00:14:42 +0100
Now that the bug reporting document has been moved (in)to
http://www.gnu.org/software/gcc/bugs.html
I'd like to resubmit my earlier patch for changing it throughout GCC.
This version also stops relying on string concatenation.
Please also approve or disapprove adding this patch to the release
branch.
Regards,
Martin
[gcc/Changelog]
2000-02-13 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* gcc.texi (Bug Reporting): Refer to bugs.html.
(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.130
diff -u -p -r1.130 gcc.c
--- gcc.c 2000/02/16 07:54:53 1.130
+++ gcc.c 2000/02/17 23:05:22
@@ -5349,7 +5349,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 ("%s.\n", GCCBUGURL);
return (0);
}
@@ -5526,7 +5526,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 ("%s\n", GCCBUGURL);
}
return (signal_count != 0 ? 2
Index: gcc.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gcc.texi,v
retrieving revision 1.42
diff -u -p -r1.42 gcc.texi
--- gcc.texi 2000/02/14 10:37:13 1.42
+++ gcc.texi 2000/02/17 23:05:30
@@ -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://www.gnu.org/software/gcc/bugs.html>} 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://www.gnu.org/software/gcc/bugs.html>}.
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/17 23:05:31
@@ -1251,7 +1251,6 @@ fancy_abort (file, line, 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.",
- function, trim_filename (file), line);
+See %s for instructions.",
+ function, trim_filename (file), line, GCCBUGURL);
}
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/17 23:05:32
@@ -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://www.gnu.org/software/gcc/bugs.html>"
+
/* 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.75
diff -u -p -r1.75 typeck2.c
--- typeck2.c 2000/02/16 23:54:23 1.75
+++ typeck2.c 2000/02/17 23:05:55
@@ -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 %s for instructions.", GCCBUGURL);
}
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 %s for instructions.", GCCBUGURL);
}
void
Index: f/g77spec.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/f/g77spec.c,v
retrieving revision 1.24
diff -u -p -r1.24 g77spec.c
--- g77spec.c 2000/02/15 16:36:33 1.24
+++ g77spec.c 2000/02/17 23:05:55
@@ -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.
@@ -431,7 +431,7 @@ For more information on g77 and gcc, typ
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");
+%s.\n", GCCBUGURL);
exit (0);
break;
#endif
Index: java/gjavah.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/gjavah.c,v
retrieving revision 1.46
diff -u -p -r1.46 gjavah.c
--- gjavah.c 2000/02/15 22:54:20 1.46
+++ gjavah.c 2000/02/17 23:05:57
@@ -1845,7 +1845,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 ("%s.\n", GCCBUGURL);
exit (0);
}
Index: java/jcf-dump.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/jcf-dump.c,v
retrieving revision 1.27
diff -u -p -r1.27 jcf-dump.c
--- jcf-dump.c 2000/02/15 16:36:34 1.27
+++ jcf-dump.c 2000/02/17 23:05:58
@@ -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 ("%s.\n", GCCBUGURL);
exit (0);
}
Index: java/jv-scan.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/jv-scan.c,v
retrieving revision 1.16
diff -u -p -r1.16 jv-scan.c
--- jv-scan.c 2000/02/15 16:36:34 1.16
+++ jv-scan.c 2000/02/17 23:05:58
@@ -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 ("%s.\n", GCCBUGURL);
exit (0);
}