diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/java/lang.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 7d985cb..c114c6c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -3,6 +3,9 @@ * expr.c, parse.h: Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp. + * lang.c (flag_new_exceptions): Don't declare it. + (java_init_options): Or set it. + 2001-03-27 Richard Henderson <rth@redhat.com> * decl.c (end_java_method): Rename asynchronous_exceptions to diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 8f9f5b2..982f451 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -152,7 +152,6 @@ int flag_force_classes_archive_check; /* From gcc/flags.h, and indicates if exceptions are turned on or not. */ -extern int flag_new_exceptions; extern int flag_exceptions; /* Table of language-dependent -f options. @@ -704,7 +703,6 @@ void lang_init_source (level) static void java_init_options () { - flag_new_exceptions = 1; flag_bounds_check = 1; } |