diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-06-28 18:00:59 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2011-06-28 18:00:59 +0100 |
commit | a7d0d30f0b0257d66c13ea9bdd2418acc0e07830 (patch) | |
tree | 3699ee680927bcf6ec7563dbe63b342be826efac /gcc/toplev.c | |
parent | cc6aa1000fd895cf12b9c5e7882dd46d34a44270 (diff) | |
download | gcc-a7d0d30f0b0257d66c13ea9bdd2418acc0e07830.tar.gz |
common.opt (in_lto_p): New Variable entry.
* common.opt (in_lto_p): New Variable entry.
* flags.h (in_lto_p): Move to common.opt.
* gcc.c: Include params.h.
(set_option_handlers): Also use common_handle_option and
target_handle_option.
(main): Call global_init_params, finish_params and
init_options_struct.
* opts.c (debug_type_names): Move from toplev.c.
(print_filtered_help): Access quiet_flag through opts pointer.
(common_handle_option): Return early in the driver for some
options. Access in_lto_p, dwarf_version and
warn_maybe_uninitialized through opts pointer.
* toplev.c (in_lto_p): Move to common.opt.
(debug_type_names): Move to opts.c.
* Makefile.in (OBJS): Remove opts.o.
(OBJS-libcommon-target): Add opts.o.
(gcc.o): Update dependencies.
From-SVN: r175591
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 8b02b382d60..884994cb0e4 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -125,13 +125,6 @@ unsigned int save_decoded_options_count; const struct gcc_debug_hooks *debug_hooks; -/* True if this is the lto front end. This is used to disable - gimple generation and lowering passes that are normally run on the - output of a front end. These passes must be bypassed for lto since - they have already been done before the gimple was written. */ - -bool in_lto_p = false; - /* The FUNCTION_DECL for the function currently being compiled, or 0 if between functions. */ tree current_function_decl; @@ -658,12 +651,6 @@ compile_file (void) timevar_stop (TV_PHASE_GENERATE); } -/* Indexed by enum debug_info_type. */ -const char *const debug_type_names[] = -{ - "none", "stabs", "coff", "dwarf-2", "xcoff", "vms" -}; - /* Print version information to FILE. Each line begins with INDENT (for the case where FILE is the assembler output file). */ |