aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-06-28 17:00:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-06-28 17:00:59 +0000
commit138a7080123e7290c7dc18e6123a2e73533fde2a (patch)
tree3699ee680927bcf6ec7563dbe63b342be826efac /gcc/toplev.c
parent7c5cd3ce998b891fe98967dba6807b10998ffc73 (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@175591 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c13
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). */