aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-06-28 18:00:59 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-06-28 18:00:59 +0100
commita7d0d30f0b0257d66c13ea9bdd2418acc0e07830 (patch)
tree3699ee680927bcf6ec7563dbe63b342be826efac /gcc/common.opt
parentcc6aa1000fd895cf12b9c5e7882dd46d34a44270 (diff)
downloadgcc-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/common.opt')
-rw-r--r--gcc/common.opt7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index d1f286f..f127936 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -37,6 +37,13 @@ int optimize_size
Variable
int optimize_fast
+; 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.
+Variable
+bool in_lto_p = false
+
; 0 means straightforward implementation of complex divide acceptable.
; 1 means wide ranges of inputs must work for complex divide.
; 2 means C99-like requirements for complex multiply and divide.