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/toplev.h | |
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/toplev.h')
-rw-r--r-- | gcc/toplev.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index ef1a705..61bed8b 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -97,9 +97,18 @@ extern void check_global_declarations (union tree_node **, int); extern const char *progname; extern const char *dump_base_name; +extern const char *aux_base_name; +extern const char *aux_info_file_name; +extern const char *asm_file_name; +extern bool exit_after_options; +extern bool version_flag; extern int target_flags_explicit; +extern void display_help (void); +extern void display_target_options (void); +extern void print_version (FILE *, const char *); + /* The hashtable, so that the C front ends can pass it to cpplib. */ extern struct ht *ident_hash; @@ -108,6 +117,9 @@ extern struct ht *ident_hash; extern void set_fast_math_flags (int); +/* Handle -d switch. */ +extern void decode_d_option (const char *); + /* Return true iff flags are set as if -ffast-math. */ extern bool fast_math_flags_set_p (void); |