mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 23:47:51 +08:00
java-tree.h (flag_bounds_check): Remove extern decl.
* java-tree.h (flag_bounds_check): Remove extern decl. * lang.c (flag_bounds_check): Remove global variable. (lang_f_options): Remove "bounds-check" entry. (lang_init_options): Default flag_bounds_check to "on". From-SVN: r30036
This commit is contained in:
parent
a8aa79754d
commit
13f9ac51e3
@ -1,3 +1,10 @@
|
||||
1999-10-15 Greg McGary <gkm@gnu.org>
|
||||
|
||||
* java-tree.h (flag_bounds_check): Remove extern decl.
|
||||
* lang.c (flag_bounds_check): Remove global variable.
|
||||
(lang_f_options): Remove "bounds-check" entry.
|
||||
(lang_init_options): Default flag_bounds_check to "on".
|
||||
|
||||
1999-10-14 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* jvgenmain.c (usage): New function.
|
||||
|
@ -115,11 +115,6 @@ extern tree current_class;
|
||||
/* List of all class DECLs seen so far. */
|
||||
extern tree all_class_list;
|
||||
|
||||
/* Nonzero if we want to automatically do array bounds checking;
|
||||
on by default. Use -fno-bounds-check to disable. */
|
||||
|
||||
extern int flag_bounds_check;
|
||||
|
||||
/* Nonzero if we should make is_compiled_class always return 1 for
|
||||
appropriate classes that we're referencing. */
|
||||
|
||||
|
@ -83,11 +83,6 @@ int compiling_from_source;
|
||||
|
||||
const char * const language_string = "GNU Java";
|
||||
|
||||
/* Nonzero if we want to automatically do array bounds checking;
|
||||
on by default. Use -fno-bounds-check to disable. */
|
||||
|
||||
int flag_bounds_check = 1;
|
||||
|
||||
/* Nonzero if we should make is_compiled_class always return 1 for
|
||||
appropriate classes that we're referencing. */
|
||||
|
||||
@ -129,7 +124,6 @@ extern int flag_exceptions;
|
||||
static struct { const char *string; int *variable; int on_value;}
|
||||
lang_f_options[] =
|
||||
{
|
||||
{"bounds-check", &flag_bounds_check, 1},
|
||||
{"assume-compiled", &flag_assume_compiled, 1},
|
||||
{"emit-class-file", &flag_emit_class_files, 1},
|
||||
{"emit-class-files", &flag_emit_class_files, 1},
|
||||
@ -554,6 +548,7 @@ void
|
||||
lang_init_options ()
|
||||
{
|
||||
flag_new_exceptions = 1;
|
||||
flag_bounds_check = 1;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user