lang.c (lang_f_options): Added optimize-static-class-initialization.
* lang.c (lang_f_options): Added optimize-static-class-initialization. (java_decode_option): Removed special case. From-SVN: r47768
This commit is contained in:
parent
46d360629c
commit
8f25dc2806
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -173,7 +173,8 @@ lang_f_options[] =
|
||||
{"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
|
||||
@ -328,15 +329,6 @@ java_decode_option (argc, argv)
|
||||
}
|
||||
#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.
|
||||
|
Loading…
Reference in New Issue
Block a user