+2001-12-07 Tom Tromey <tromey@redhat.com>
+
+ * lang.c (lang_f_options): Added
+ optimize-static-class-initialization.
+ (java_decode_option): Removed special case.
+
2001-12-07 Per Bothner <per@bothner.com>
* check-init.c (check_init): Fix typo freeing memory twice.
{"hash-synchronization", &flag_hash_synchronization, 1},
{"jni", &flag_jni, 1},
{"check-references", &flag_check_references, 1},
- {"force-classes-archive-check", &flag_force_classes_archive_check, 1}
+ {"force-classes-archive-check", &flag_force_classes_archive_check, 1},
+ {"optimize-static-class-initialization", &flag_optimize_sci, 1 }
};
static struct string_option
}
#undef ARG
-#undef ARG
-#define ARG "-fno-optimize-static-class-initialization"
- if (strncmp (p, ARG, sizeof (ARG) - 1) == 0)
- {
- flag_optimize_sci = 0;
- return 1;
- }
-#undef ARG
-
if (p[0] == '-' && p[1] == 'f')
{
/* Some kind of -f option.