]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc.texi (Bug Reporting): Refer to bugs.html.
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>
Fri, 18 Feb 2000 17:19:30 +0000 (17:19 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Fri, 18 Feb 2000 17:19:30 +0000 (17:19 +0000)
* gcc.texi (Bug Reporting): Refer to bugs.html.
(Bug Lists): Likewise.
* system.h (GCCBUGURL): New preprocessor define.
(abort): Use it.
* gcc.c (main): Likewise.
* g77spec.c (lang_specific_driver): Use GCCBUGURL.
* typeck2.c (my_friendly_abort): Use GCCBUGURL.

From-SVN: r32050

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/f/ChangeLog
gcc/f/g77spec.c
gcc/gcc.c
gcc/gcc.texi
gcc/system.h

index 3276b56077aca679074ad62916ea2774a7cc8db9..996ccc2c899b20626ec30dd637eb3e97ace0c63e 100644 (file)
@@ -1,3 +1,11 @@
+Fri Feb 18 13:32:32 2000  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.
+       (abort): Use it.
+       * gcc.c (main): Likewise.
+
 Thu Feb  3 10:53:45 2000  Richard Henderson  <rth@cygnus.com>
 
        Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
index 605bafc0a52c29d11f88183ff884cfc244846d69..309d8e224ec2ff161114b5f14068931f21fdada2 100644 (file)
@@ -1,3 +1,7 @@
+2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
+
+       * typeck2.c (my_friendly_abort): Use GCCBUGURL.
+
 1999-11-01  Jason Merrill  <jason@yorick.cygnus.com>
 
        * decl2.c (maybe_make_one_only): Always make things comdat on
index 6322157e62459cecbd776ca461b83d1f885b1a2a..da98203bdc0b7d950124ff12574b8230d5f2130f 100644 (file)
@@ -344,7 +344,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");
@@ -359,7 +359,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 2e818152ca1fb41644ef68110881d77d5132ef2d..bc62110d976a3dcbc4edf123e37d189f3e3fe3f8 100644 (file)
@@ -1,3 +1,7 @@
+Fri Feb 18 13:36:50 2000  Martin von Loewis  <loewis@informatik.hu-berlin.de>
+
+       * g77spec.c (lang_specific_driver): Use GCCBUGURL.
+
 Sun Oct 24 23:54:10 PDT 1999 Jeff Law  (law@cygnus.com)
 
        * gcc-2.95.2 Released.
index 50e773866b235c7f8692a49273deba095cb15f51..93a363cddb8b43c873feef5847df58ee3e8e346c 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.
 
@@ -428,7 +428,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 ea9f6ac370cd8d6c60da3f249d7a34b5a5073d28..e570d4ba1dcd2308f44833c7d192bdf8374ac047 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4963,7 +4963,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);
          
          exit (0);
        }
@@ -5156,7 +5156,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);
     }
   
   exit (error_count > 0 ? (signal_count ? 2 : 1) : 0);
index d2bbbb5590200f526b8fb32f1c21a93069038922..8c08fa8b6d4c9b72d1374ce107311156c557cee7 100644 (file)
@@ -2263,7 +2263,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
@@ -2287,7 +2287,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 7d6082ccf299615de4cf444c89aff2e43a3fb768..1b40e6004fcd6125ffb5fd790f2bbe2351a47957 100644 (file)
@@ -22,6 +22,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>
@@ -399,8 +404,8 @@ extern void fatal PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORE
 #else
 #define abort() 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.", \
-  __PRETTY_FUNCTION__, trim_filename (__FILE__), __LINE__)
+  "See %s for instructions.", \
+  __PRETTY_FUNCTION__, trim_filename (__FILE__), __LINE__, GCCBUGURL)
 #endif /* recent gcc */
 
 /* trim_filename is in toplev.c.  Define a stub macro for files that