diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 08:30:02 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 08:30:02 +0000 |
commit | e690b385a0f2ff4af2cd6cd56fd8ef94f697bf63 (patch) | |
tree | fb5a3a4fc913d05084620e60c670ecc9dde2dd16 /gcc/toplev.h | |
parent | 5bd751ff1c6248385ca2a90cf25232c581bdc9ce (diff) | |
download | gcc-e690b385a0f2ff4af2cd6cd56fd8ef94f697bf63.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67971 138bc75d-0d04-0410-961f-82ee72b054a4
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 ef1a705f3a3..61bed8b3e85 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); |