diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-15 08:30:02 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-15 08:30:02 +0000 |
commit | d185d26881a1946cf82da6350a1d1518464a8eb6 (patch) | |
tree | fb5a3a4fc913d05084620e60c670ecc9dde2dd16 /gcc/java | |
parent | 72ac76be3abe9ed981037fe35da0c15bec5611ef (diff) | |
download | gcc-d185d26881a1946cf82da6350a1d1518464a8eb6.zip gcc-d185d26881a1946cf82da6350a1d1518464a8eb6.tar.gz gcc-d185d26881a1946cf82da6350a1d1518464a8eb6.tar.bz2 |
c-pch.c (asm_file_name): Remove.
* c-pch.c (asm_file_name): Remove.
* common.opt: Add more switches.
* flags.h (g_switch_set): Boolify.
* opts.c (g_switch_value, g_switch_set, exit_after_options,
version_flag): Move from toplev.c.
(common_handle_option): Handle more switches from toplev.c.
* toplev.c (display_help, display_target_options, decode_d_option,
print_version): Make non-static, remove prototypes.
(aux_base_name, asm_file_name, aux_info_file_name): Constify.
(version_flag, g_switch_value, g_switch_set, exit_after_options):
Remove.
(independent_decode_option): Move some handlers to opts.c.
* toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
exit_after_options, version_flag, display_help, display_target_options,
print_version, decode_d_option): New.
java:
* lang.c (version_flag): Rename to v_flag to avoid clash w/ toplev.h.
From-SVN: r67971
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/lang.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index d1827cb..37dacc5 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2003-06-15 Neil Booth <neil@daikokuya.co.uk> + + * lang.c (version_flag): Rename to v_flag to avoid clash w/ toplev.h. + 2003-06-14 Neil Booth <neil@daikokuya.co.uk> * lang-specs.h: Rewrite -MD and -MMD to append an underscore. diff --git a/gcc/java/lang.c b/gcc/java/lang.c index ab5b744..3ac6fd2 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -181,7 +181,7 @@ int flag_indirect_dispatch = 0; int flag_store_check = 1; /* When nonzero, print extra version information. */ -static int version_flag = 0; +static int v_flag = 0; /* Set nonzero if the user specified -finline-functions on the command line. */ @@ -448,7 +448,7 @@ java_handle_option (size_t scode, const char *arg, int value) break; case OPT_version: - version_flag = 1; + v_flag = 1; break; } @@ -476,7 +476,7 @@ java_init (void) && force_align_functions_log < 1) force_align_functions_log = 1; - jcf_path_seal (version_flag); + jcf_path_seal (v_flag); java_init_decl_processing (); |