system.h (GCCBUGURL): Delete.

* system.h (GCCBUGURL): Delete.
	* version.c (bug_report_url): New.  Add commentary about
	modifying both these strings in modified distributions.
	* version.h: Declare bug_report_url.

	* diagnostic.c, gcc.c, gcov.c, java/gjavah.c, java/jcf-dump.c,
	java/jv-scan.c: Globally replace GCCBUGURL with bug_report_url.

From-SVN: r57932
This commit is contained in:
Zack Weinberg 2002-10-08 17:27:39 +00:00
parent 218145d684
commit 36624850a4
9 changed files with 46 additions and 21 deletions

View File

@ -1,3 +1,13 @@
2002-10-08 Zack Weinberg <zack@codesourcery.com>
* system.h (GCCBUGURL): Delete.
* version.c (bug_report_url): New. Add commentary about
modifying both these strings in modified distributions.
* version.h: Declare bug_report_url.
* diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
bug_report_url.
2002-10-08 Nick Clifton <nickc@redhat.com>
* config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
@ -17,9 +27,9 @@ Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
* config/mips/mips.md (define_attr cpu): Add r4111.
2002-10-08 Anthony Green <green@redhat.com>
2002-10-08 Anthony Green <green@redhat.com>
* bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
* bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
@ -75,7 +85,7 @@ Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
* pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
* t-pdp11: Add LIB2FUNCS_EXTRA.
* pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
* pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
'fldd' to 'ldd', rename 'fstd' to 'std'.
(pdp11_output_function_epilogue): Likewise.
@ -84,7 +94,7 @@ Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
(print_operand_address): Add pre_modify, post_modify.
(output_addr_const_pdp11): Add preceding 0 to the octal constant.
* pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
with the indication of Paul Koning.
with the indication of Paul Koning.
(PRINT_OPERAND): Fix floating constant.
* pdp11.md (movdi): Restrict matching pattern.
(movqi): Generalize the matching pattern.
@ -102,7 +112,7 @@ Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
(mod): Fix wrong subreg.
2002-09-25 Eric Botcazou <ebotcazou@libertysurf.fr>
Volker Reichelt <reichelt@igpm.rwth-aachen.de>
Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c/7411
* expr.c (expand_expr) [PLUS]: Simplify after the operands

View File

@ -1194,7 +1194,7 @@ internal_error VPARAMS ((const char *msgid, ...))
fnotice (stderr,
"Please submit a full bug report,\n\
with preprocessed source if appropriate.\n\
See %s for instructions.\n", GCCBUGURL);
See %s for instructions.\n", bug_report_url);
exit (FATAL_EXIT_CODE);
}
@ -1302,7 +1302,7 @@ error_recursion (context)
fnotice (stderr,
"Please submit a full bug report,\n\
with preprocessed source if appropriate.\n\
See %s for instructions.\n", GCCBUGURL);
See %s for instructions.\n", bug_report_url);
exit (FATAL_EXIT_CODE);
}

View File

@ -1,11 +1,16 @@
2002-10-08 Zack Weinberg <zack@codesourcery.com>
* gjavah.c, jcf-dump.c, jv-scan.c: Globally replace GCCBUGURL with
bug_report_url.
2002-10-08 Andrew Haley <aph@redhat.com>
* parse.y (attach_init_test_initialization_flags): Check for
error_mark_node.
2002-10-07 Anthony Green <green@redhat.com>
2002-10-07 Anthony Green <green@redhat.com>
* parse.y (merge_string_cste): Fix bug in string concatenation.
* parse.y (merge_string_cste): Fix bug in string concatenation.
2002-10-03 Michael Koch <konqueror@gmx.de>
@ -50,7 +55,7 @@
2002-09-21 Richard Henderson <rth@redhat.com>
* jcf-parse.c (get_constant): Decode from IEEE no matter
* jcf-parse.c (get_constant): Decode from IEEE no matter
what the target format.
2002-09-20 Kazu Hirata <kazu@cs.umass.edu>
@ -173,7 +178,7 @@
2002-08-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* jcf-write.c (get_access_flags): Return correct access flags for
* jcf-write.c (get_access_flags): Return correct access flags for
private and protected inner classes.
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
@ -316,10 +321,10 @@
2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* gjavah.c (throwable_p): Accept argument as either a classname or
* gjavah.c (throwable_p): Accept argument as either a classname or
signature fragment. Create null-terminated classname string for super
when calling itself recursively.
(decode_signature_piece): Skip first character from class name
(decode_signature_piece): Skip first character from class name
signature when calling throwable_p.
2002-06-08 H.J. Lu (hjl@gnu.org)

View File

@ -2289,7 +2289,7 @@ help ()
/* We omit -MG until it is implemented. */
printf ("\n");
printf ("For bug reporting instructions, please see:\n");
printf ("%s.\n", GCCBUGURL);
printf ("%s.\n", bug_report_url);
exit (0);
}

View File

@ -829,7 +829,7 @@ help ()
printf (" -v, --verbose Print extra information while running\n");
printf ("\n");
printf ("For bug reporting instructions, please see:\n");
printf ("%s.\n", GCCBUGURL);
printf ("%s.\n", bug_report_url);
exit (0);
}

View File

@ -115,7 +115,7 @@ help ()
printf (" --version Print version number, then exit\n");
printf ("\n");
printf ("For bug reporting instructions, please see:\n");
printf ("%s.\n", GCCBUGURL);
printf ("%s.\n", bug_report_url);
exit (0);
}

View File

@ -23,11 +23,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#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>

View File

@ -1,4 +1,18 @@
#include "ansidecl.h"
#include "version.h"
/* This is the string reported as the version number by all components
of the compiler. If you distribute a modified version of GCC,
please modify this string to indicate that, e.g. by putting your
organization's name in parentheses at the end of the string. */
const char version_string[] = "3.3 20021008 (experimental)";
/* This is the location of the online document giving instructions for
reporting bugs. If you distribute a modified version of GCC,
please change this to refer to a document giving instructions for
reporting bugs to you, not us. (You are of course welcome to
forward us bugs reported to you, if you determine that they are
not bugs in your modifications.) */
const char bug_report_url[] = "<URL:http://www.gnu.org/software/gcc/bugs.html>";

View File

@ -1,4 +1,5 @@
#ifndef GCC_VERSION_H
#define GCC_VERSION_H
extern const char version_string[];
extern const char bug_report_url[];
#endif /* ! GCC_VERSION_H */