gcc/gcc/java
Joseph Myers a4d8c67600 Makefile.in (OPTS_H): Define.
* Makefile.in (OPTS_H): Define.
	(c-decl.o, c-family/c-common.o, c-family/c-opts.o,
	c-family/c-pch.o, c-family/c-pragma.o, gcc.o, gccspec.o,
	cppspec.o, options.o, gcc-options.o, lto-opts.o, opts.o,
	opts-common.o, toplev.o, passes.o, matrix-reorg.o,
	ipa-struct-reorg.o, PLUGIN_HEADERS): Use $(OPTS_H).
	* gcc.c (driver_handle_option): Take location_t parameter.
	(process_command, do_self_spec): Update calls to
	read_cmdline_option.
	* langhooks-def.h (lhd_handle_option): Take location_t parameter.
	* langhooks.c (lhd_handle_option): Take location_t parameter.
	* langhooks.h (handle_option): Take location_t parameter.
	* lto-opts.c (lto_reissue_options): Update call to set_option.
	* opts-common.c (handle_option): Make static.  Take location_t
	parameter and pass it to other functions.
	(handle_generated_option): Take location_t parameter and pass it
	to other functions.
	(read_cmdline_option): Take location_t parameter and pass it to
	other functions.  Use warning_at and error_at.
	(set_option): Take location_t parameter and pass it to other
	functions.
	* opts.c (common_handle_option): Take location_t parameter and
	pass it to other functions.
	(enable_warning_as_error): Make static.  Take location_t parameter
	and pass it to other functions.
	(lang_handle_option): Take location_t parameter and pass it to
	other functions.
	(target_handle_option): Take location_t parameter.
	(read_cmdline_options, maybe_default_option,
	maybe_default_options, default_options_optimization,
	decode_options): Take location_t parameter and pass it to other
	functions.
	* opts.h: Include input.h.
	(struct cl_option_handler_func, decode_options, set_option,
	handle_generated_option, read_cmdline_option): Take location_t
	parameters.
	(handle_option, enable_warning_as_error): Remove.
	* toplev.c (toplev_main): Update call to decode_options.

ada:
	* gcc-interface/Make-lang.in (ada/misc.o): Use $(OPTS_H).
	* gcc-interface/misc.c (gnat_handle_option): Take location_t
	parameter.

c-family:
	* c-common.c (parse_optimize_options): Update call to
	decode_options.
	* c-common.h (c_common_handle_option): Update prototype.
	* c-opts.c (c_common_handle_option): Take location_t parameter and
	pass it to other functions.

cp:
	* Make-lang.in (g++spec.o): Use $(OPTS_H).

fortran:
	* Make-lang.in (gfortranspec.o): Use $(OPTS_H).
	* gfortran.h (gfc_handle_option): Take location_t parameter.
	* options.c (gfc_handle_option): Take location_t parameter.

java:
	* Make-lang.in (jvspec.o, java/lang.o): Use $(OPTS_H).
	* lang.c (java_handle_option): Take location_t parameter.

lto:
	* Make-lang.in (lto/lto.o): Use $(OPTS_H).
	* lto-lang.c (lto_handle_option): Take location_t parameter.

From-SVN: r166688
2010-11-12 23:26:56 +00:00
..
ChangeLog Makefile.in (OPTS_H): Define. 2010-11-12 23:26:56 +00:00
ChangeLog.ptr
ChangeLog.tree-ssa
Make-lang.in Makefile.in (OPTS_H): Define. 2010-11-12 23:26:56 +00:00
boehm.c
builtins.c decl.c (java_init_decl_processing): Use build_function_type_list instead of build_function_type. 2010-10-11 16:23:52 +00:00
class.c re PR middle-end/46314 (frontends use ASM_GENERATE_INTERNAL_LABEL) 2010-11-06 15:04:52 +00:00
config-lang.in
constants.c
decl.c decl.c (java_init_decl_processing): Use build_function_type_list instead of build_function_type. 2010-10-11 16:23:52 +00:00
except.c
expr.c cfgloop.c (verify_loop_structure): Use %' in diagnostics. 2010-11-10 23:23:15 +00:00
gcj.texi
java-except.h
java-gimplify.c
java-opcodes.h
java-tree.def
java-tree.h optc-gen.awk: Generate global_options initializer instead of individual variables. 2010-09-29 15:49:14 +01:00
javaop.def
javaop.h
jcf-depend.c
jcf-dump.c optc-gen.awk: Generate global_options initializer instead of individual variables. 2010-09-29 15:49:14 +01:00
jcf-io.c
jcf-parse.c cfgloop.c (verify_loop_structure): Use %' in diagnostics. 2010-11-10 23:23:15 +00:00
jcf-path.c
jcf-reader.c
jcf.h optc-gen.awk: Generate global_options initializer instead of individual variables. 2010-09-29 15:49:14 +01:00
jvgenmain.c
jvspec.c cfgloop.c (verify_loop_structure): Use %' in diagnostics. 2010-11-10 23:23:15 +00:00
lang-specs.h
lang.c Makefile.in (OPTS_H): Define. 2010-11-12 23:26:56 +00:00
lang.opt options.texi (Variable, Var, Init): Update documentation without reference to VarExists. 2010-09-29 15:51:52 +01:00
mangle.c
mangle_name.c
parse.h optc-gen.awk: Generate global_options initializer instead of individual variables. 2010-09-29 15:49:14 +01:00
resource.c
typeck.c
verify-glue.c
verify-impl.c
verify.h
win32-host.c
zextract.c
zipfile.h