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/flags.h | |
parent | cc6aa1000fd895cf12b9c5e7882dd46d34a44270 (diff) | |
download | gcc-a7d0d30f0b0257d66c13ea9bdd2418acc0e07830.zip gcc-a7d0d30f0b0257d66c13ea9bdd2418acc0e07830.tar.gz gcc-a7d0d30f0b0257d66c13ea9bdd2418acc0e07830.tar.bz2 |
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/flags.h')
-rw-r--r-- | gcc/flags.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/flags.h b/gcc/flags.h index 4104955..8cc6670 100644 --- a/gcc/flags.h +++ b/gcc/flags.h @@ -1,6 +1,6 @@ /* Compilation switch flag definitions for GCC. Copyright (C) 1987, 1988, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, - 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -34,13 +34,6 @@ extern const char *const debug_type_names[]; extern void strip_off_ending (char *, int); extern int base_of_path (const char *path, const char **base_out); -/* True if this is the LTO front end (lto1). 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. */ - -extern bool in_lto_p; - /* Return true iff flags are set as if -ffast-math. */ extern bool fast_math_flags_set_p (const struct gcc_options *); extern bool fast_math_flags_struct_set_p (struct cl_optimization *); |