* gcc.texi (Bug Reporting): Refer to bugs.html.
authorloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Feb 2000 12:26:50 +0000 (12:26 +0000)
committerloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Feb 2000 12:26:50 +0000 (12:26 +0000)
(Bug Lists): Likewise.
* system.h (GCCBUGURL): New preprocessor define.
* rtl.c (fancy_abort): Use it.
* gcc.c (main): Likewise.
* typeck2.c (my_friendly_abort): Use GCCBUGURL.
* g77spec.c (lang_specific_driver): Use GCCBUGURL.
* gjavah.c (help): Use GCCBUGURL.
* jv-scan.c (help): Likewise.
* jcf-dump.c (help): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32049 138bc75d-0d04-0410-961f-82ee72b054a4

13 files changed:
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/f/ChangeLog
gcc/f/g77spec.c
gcc/gcc.c
gcc/gcc.texi
gcc/java/ChangeLog
gcc/java/gjavah.c
gcc/java/jcf-dump.c
gcc/java/jv-scan.c
gcc/rtl.c
gcc/system.h

index bb8067f..ec11780 100644 (file)
@@ -1,3 +1,11 @@
+2000-02-18  Martin von Loewis  <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.
+
 2000-02-18  Richard Henderson  <rth@cygnus.com>
 
        * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
index 50c06a0..f7501a3 100644 (file)
@@ -1,3 +1,7 @@
+2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
+
+       * typeck2.c (my_friendly_abort): Use GCCBUGURL.
+
 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
 
        * class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT.
index 3e90fb9..0f9eb2c 100644 (file)
@@ -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 f9ae016..ebb4336 100644 (file)
@@ -1,3 +1,7 @@
+Fri Feb 18 13:19:34 2000  Martin von Loewis  <loewis@informatik.hu-berlin.de>
+
+       * g77spec.c (lang_specific_driver): Use GCCBUGURL.
+
 2000-02-17  Andy Vaught  <andy@maxwell.la.asu.edu>
 
        * com.c (ffecom_member_phase2_): Re-enable COMMON debug code.
index 26d78b4..532154b 100644 (file)
@@ -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, 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");
+%s.\n", GCCBUGURL);
          exit (0);
          break;
 #endif
index 24a7d2c..6ac6b98 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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 5122e0c..0ffe739 100644 (file)
@@ -2238,7 +2238,7 @@ convention, in which bug reports for tool ``foo'' are sent
 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 7047b9d..73f2054 100644 (file)
@@ -1,3 +1,9 @@
+2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
+
+       * gjavah.c (help): Use GCCBUGURL.
+       * jv-scan.c (help): Likewise.
+       * jcf-dump.c (help): Likewise.
+
 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
 
        * Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on
index 595e1da..10240f0 100644 (file)
@@ -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 9d3f829..971a1e3 100644 (file)
@@ -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 f803e2c..adb7ba3 100644 (file)
@@ -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);
 }
 
index f3405ee..16e9a9e 100644 (file)
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -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 99b0d08..06ef2c8 100644 (file)
@@ -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>