Commit 8b97e23b by Martin v. Löwis Committed by Martin v. Löwis

gcc.texi (Bug Reporting): Refer to bugs.html.

	* 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.
	* 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.

From-SVN: r32049
parent 7eeb2431
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> 2000-02-18 Richard Henderson <rth@cygnus.com>
* flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove. * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
......
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> 2000-02-17 Mark Mitchell <mark@codesourcery.com>
* class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT. * class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT.
......
...@@ -316,7 +316,7 @@ my_friendly_abort (i) ...@@ -316,7 +316,7 @@ my_friendly_abort (i)
else else
ack ("Internal compiler error %d.", i); ack ("Internal compiler error %d.", i);
ack ("Please submit a full bug report."); 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 else
error ("confused by earlier errors, bailing out"); error ("confused by earlier errors, bailing out");
...@@ -331,7 +331,7 @@ my_friendly_abort (i) ...@@ -331,7 +331,7 @@ my_friendly_abort (i)
error ("Internal compiler error %d.", i); error ("Internal compiler error %d.", i);
error ("Please submit a full bug report."); 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 void
......
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> 2000-02-17 Andy Vaught <andy@maxwell.la.asu.edu>
* com.c (ffecom_member_phase2_): Re-enable COMMON debug code. * com.c (ffecom_member_phase2_): Re-enable COMMON debug code.
......
/* Specific flags and argument handling of the Fortran front-end. /* 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. 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\ ...@@ -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\ and `info -f gcc' to read the Info documentation.\n\
\n\ \n\
For bug reporting instructions, please see:\n\ For bug reporting instructions, please see:\n\
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport>.\n"); %s.\n", GCCBUGURL);
exit (0); exit (0);
break; break;
#endif #endif
......
...@@ -5349,7 +5349,7 @@ main (argc, argv) ...@@ -5349,7 +5349,7 @@ main (argc, argv)
if (! verbose_flag) if (! verbose_flag)
{ {
printf ("\nFor bug reporting instructions, please see:\n"); 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); return (0);
} }
...@@ -5526,7 +5526,7 @@ main (argc, argv) ...@@ -5526,7 +5526,7 @@ main (argc, argv)
if (print_help_list) if (print_help_list)
{ {
printf ("\nFor bug reporting instructions, please see:\n"); 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 return (signal_count != 0 ? 2
......
...@@ -2238,7 +2238,7 @@ convention, in which bug reports for tool ``foo'' are sent ...@@ -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} 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. 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. bug reporting instructions before you post a bug report.
Often people think of posting bug reports to the newsgroup instead of Often people think of posting bug reports to the newsgroup instead of
...@@ -2262,7 +2262,7 @@ Boston, MA 02111-1307, USA ...@@ -2262,7 +2262,7 @@ Boston, MA 02111-1307, USA
@cindex compiler bugs, reporting @cindex compiler bugs, reporting
You may find additional and/or more up-to-date instructions at 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: The fundamental principle of reporting bugs usefully is this:
@strong{report all the facts}. If you are not sure whether to state a @strong{report all the facts}. If you are not sure whether to state a
......
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> 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
* Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on * Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on
......
...@@ -1845,7 +1845,7 @@ help () ...@@ -1845,7 +1845,7 @@ help ()
/* We omit -MG until it is implemented. */ /* We omit -MG until it is implemented. */
printf ("\n"); printf ("\n");
printf ("For bug reporting instructions, please see:\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); exit (0);
} }
......
...@@ -779,7 +779,7 @@ help () ...@@ -779,7 +779,7 @@ help ()
printf (" -v, --verbose Print extra information while running\n"); printf (" -v, --verbose Print extra information while running\n");
printf ("\n"); printf ("\n");
printf ("For bug reporting instructions, please see:\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); exit (0);
} }
......
...@@ -93,7 +93,7 @@ help () ...@@ -93,7 +93,7 @@ help ()
printf (" --version Print version number, then exit\n"); printf (" --version Print version number, then exit\n");
printf ("\n"); printf ("\n");
printf ("For bug reporting instructions, please see:\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); exit (0);
} }
......
...@@ -1251,7 +1251,6 @@ fancy_abort (file, line, function) ...@@ -1251,7 +1251,6 @@ fancy_abort (file, line, function)
fatal ( fatal (
"Internal compiler error in `%s', at %s:%d\n\ "Internal compiler error in `%s', at %s:%d\n\
Please submit a full bug report.\n\ Please submit a full bug report.\n\
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> \ See %s for instructions.",
for instructions.", function, trim_filename (file), line, GCCBUGURL);
function, trim_filename (file), line);
} }
...@@ -23,6 +23,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,6 +23,11 @@ Boston, MA 02111-1307, USA. */
#ifndef __GCC_SYSTEM_H__ #ifndef __GCC_SYSTEM_H__
#define __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. */ /* We must include stdarg.h/varargs.h before stdio.h. */
#ifdef ANSI_PROTOTYPES #ifdef ANSI_PROTOTYPES
#include <stdarg.h> #include <stdarg.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment