From 8b97e23b7601eec320ef0600448a9ee686fde12b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 18 Feb 2000 12:26:50 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 8 ++++++++ gcc/cp/ChangeLog | 4 ++++ gcc/cp/typeck2.c | 4 ++-- gcc/f/ChangeLog | 4 ++++ gcc/f/g77spec.c | 4 ++-- gcc/gcc.c | 4 ++-- gcc/gcc.texi | 4 ++-- gcc/java/ChangeLog | 6 ++++++ gcc/java/gjavah.c | 2 +- gcc/java/jcf-dump.c | 2 +- gcc/java/jv-scan.c | 2 +- gcc/rtl.c | 5 ++--- gcc/system.h | 5 +++++ 13 files changed, 40 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb8067f..ec11780 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2000-02-18 Martin von Loewis + + * 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 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 50c06a0..f7501a3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-02-18 Martin von Loewis + + * typeck2.c (my_friendly_abort): Use GCCBUGURL. + 2000-02-17 Mark Mitchell * class.c (add_method): Don't set DECL_VIRTUAL_CONTEXT. diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c index 3e90fb9..0f9eb2c 100644 --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -316,7 +316,7 @@ my_friendly_abort (i) else ack ("Internal compiler error %d.", i); ack ("Please submit a full bug report."); - ack ("See 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 for instructions."); + fatal ("See %s for instructions.", GCCBUGURL); } void diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index f9ae016..ebb4336 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 18 13:19:34 2000 Martin von Loewis + + * g77spec.c (lang_specific_driver): Use GCCBUGURL. + 2000-02-17 Andy Vaught * com.c (ffecom_member_phase2_): Re-enable COMMON debug code. diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c index 26d78b4..532154b 100644 --- a/gcc/f/g77spec.c +++ b/gcc/f/g77spec.c @@ -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\ -.\n"); +%s.\n", GCCBUGURL); exit (0); break; #endif diff --git a/gcc/gcc.c b/gcc/gcc.c index 24a7d2c..6ac6b98 100644 --- 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 (".\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 ("\n"); + printf ("%s\n", GCCBUGURL); } return (signal_count != 0 ? 2 diff --git a/gcc/gcc.texi b/gcc/gcc.texi index 5122e0c1..0ffe739 100644 --- a/gcc/gcc.texi +++ b/gcc/gcc.texi @@ -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{} for +Please read @samp{} 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{}. +@samp{}. The fundamental principle of reporting bugs usefully is this: @strong{report all the facts}. If you are not sure whether to state a diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 7047b9d..73f2054 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2000-02-18 Martin von Loewis + + * gjavah.c (help): Use GCCBUGURL. + * jv-scan.c (help): Likewise. + * jcf-dump.c (help): Likewise. + 2000-02-16 Zack Weinberg * Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index 595e1da..10240f0 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -1845,7 +1845,7 @@ help () /* We omit -MG until it is implemented. */ printf ("\n"); printf ("For bug reporting instructions, please see:\n"); - printf (".\n"); + printf ("%s.\n", GCCBUGURL); exit (0); } diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c index 9d3f829..971a1e3 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.c @@ -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 (".\n"); + printf ("%s.\n", GCCBUGURL); exit (0); } diff --git a/gcc/java/jv-scan.c b/gcc/java/jv-scan.c index f803e2c..adb7ba3 100644 --- a/gcc/java/jv-scan.c +++ b/gcc/java/jv-scan.c @@ -93,7 +93,7 @@ help () printf (" --version Print version number, then exit\n"); printf ("\n"); printf ("For bug reporting instructions, please see:\n"); - printf (".\n"); + printf ("%s.\n", GCCBUGURL); exit (0); } diff --git a/gcc/rtl.c b/gcc/rtl.c index f3405ee..16e9a9e 100644 --- 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 \ -for instructions.", - function, trim_filename (file), line); +See %s for instructions.", + function, trim_filename (file), line, GCCBUGURL); } diff --git a/gcc/system.h b/gcc/system.h index 99b0d08..06ef2c8 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -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 "" + /* We must include stdarg.h/varargs.h before stdio.h. */ #ifdef ANSI_PROTOTYPES #include -- 2.7.4