common.opt (in_lto_p): New Variable entry.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 28 Jun 2011 17:00:59 +0000 (18:00 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 28 Jun 2011 17:00:59 +0000 (18:00 +0100)
commita7d0d30f0b0257d66c13ea9bdd2418acc0e07830
tree3699ee680927bcf6ec7563dbe63b342be826efac
parentcc6aa1000fd895cf12b9c5e7882dd46d34a44270
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
gcc/ChangeLog
gcc/Makefile.in
gcc/common.opt
gcc/flags.h
gcc/gcc.c
gcc/opts.c
gcc/toplev.c