* 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
+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>
+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
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");
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
+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.
/* 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.
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
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);
}
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);
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
@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
#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>
#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