summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog20
-rw-r--r--gcc/diagnostic.c4
-rw-r--r--gcc/java/ChangeLog17
-rw-r--r--gcc/java/gjavah.c2
-rw-r--r--gcc/java/jcf-dump.c2
-rw-r--r--gcc/java/jv-scan.c2
-rw-r--r--gcc/system.h5
-rw-r--r--gcc/version.c14
-rw-r--r--gcc/version.h1
9 files changed, 46 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 189d5c32881..21fc42c32e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 3828d5e5588..2596d03260e 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -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);
}
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index f67cea34800..6c904ea0849 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -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)
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c
index d1688400aee..53099ad3876 100644
--- a/gcc/java/gjavah.c
+++ b/gcc/java/gjavah.c
@@ -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);
}
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index 2824a6b3cc9..72f1a5360b4 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -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);
}
diff --git a/gcc/java/jv-scan.c b/gcc/java/jv-scan.c
index 73eb3f4d535..f92acebd7f4 100644
--- a/gcc/java/jv-scan.c
+++ b/gcc/java/jv-scan.c
@@ -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);
}
diff --git a/gcc/system.h b/gcc/system.h
index 0a77c8fc1b3..260232f9b99 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -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>
diff --git a/gcc/version.c b/gcc/version.c
index b0c8028f602..954b1522048 100644
--- a/gcc/version.c
+++ b/gcc/version.c
@@ -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>";
diff --git a/gcc/version.h b/gcc/version.h
index db5972d2af8..8e944ccdef6 100644
--- a/gcc/version.h
+++ b/gcc/version.h
@@ -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 */