Go to file
Richard Sandiford 7568579261 config.gcc (extra_options): New variable for listing option files.
* config.gcc (extra_options): New variable for listing option files.
	Add ${cpu_type}/${cpu_type}.opt to it if that file exists.
	* configure.ac (extra_opt_files): New AC_SUBST variable.
	(tm_file_list, tm_include_list): Include options.h first.
	* configure: Regenerate.
	* Makefile.in (extra_opt_files, ALL_OPT_FILES): New variables.
	(s-options): Use $(ALL_OPT_FILES) instead of $(lang_opt_files)
	(s-options-h): New rule.
	(options.h): Depend on it.
	(TEXI_GCCINT_FILES): Add options.texi.
	* hooks.h (hook_bool_size_t_constcharptr_int_true): Declare.
	* hooks.c (hook_bool_size_t_constcharptr_int_true): New function.
	* target.h (gcc_target): Add default_target_flags and handle_option.
	* target-def.h (TARGET_DEFAULT_TARGET_FLAGS)
	(TARGET_HANDLE_OPTION): New macros.
	(TARGET_INITIALIZER): Include them.
	* opt-functions.awk (opt_args, nth_arg): New functions.
	(switch_flags): Handle the "Target" flag.
	(var_args): Delete.
	(var_name): Use opt_args and nth_arg.
	(var_set, var_ref): Likewise.  Handle "Mask" and "InverseMask".
	* opth-gen.awk: Declare target_flags.  Declare MASK_* and TARGET_*
	macros for the "Mask" and "InverseMask" options.
	* opts.h (cl_var_cond): New enum.
	(cl_option): Replace the "has_set_value" and "set_value" fields with
	"var_cond" and "var_value".
	(CL_TARGET): New macro.
	(option_enabled, print_filtered_help): Declare.
	(decode_options): Move definition.
	* opts.c (handle_option): Search for the original option before
	removing any "no-" prefix.  Handle CL_TARGET.  Adjust for the new
	var_cond and var_value fields.  Use targetm.handle_option to handle
	target options.
	(decode_options): Set target_flags to targetm.default_target_flags.
	(print_filtered_help): Make global.  Handle CL_TARGET.
	(option_enabled): New function.
	* toplev.c (target_switches): Guard with #ifdef TARGET_SWITCHES.
	(display_target_options, set_target_switch, print_switch_values)
	(default_pch_valid_p): Guard uses of target_switches with
	#ifdef TARGET_SWITCHES.  Also...
	(display_target_options): Display the CL_TARGET entries in cl_options.
	(set_target_option): Don't complain about the "" option when
	TARGET_SWITCHES is undefined.
	(print_switch_values): Use option_enabled.
	(default_pch_valid_p): Check cl_options[] when looking for something
	that has changed the value of target_flags.
	* c.opt: Remove documentation from top of file.
	* doc/gccint.texi: Add an "Options" chapter.  Include options.texi.
	* doc/sourecebuild.texi: Refer to the new options documentation
	instead of c.opt.  Document machine-specific .opt files.
	* doc/tm.texi (target_flags): Say that this variable is declared
	by options.h.
	(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Document.
	(TARGET_SWITCHES, TARGET_OPTIONS): Refer to the option files as
	an alternative.
	* doc/options.texi: New file.

From-SVN: r96448
2005-03-14 20:18:43 +00:00
INSTALL
boehm-gc Makefile.in, [...]: Regenerate. 2005-03-01 23:25:50 +00:00
config re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
contrib warn_summary (keywordFilter): Update sed pattern for new quoting style in warnings. 2005-03-08 13:42:18 +00:00
fastjar
fixincludes Fix problem found by CFLAGS=-fmudflap build. 2005-02-23 14:30:01 -08:00
gcc config.gcc (extra_options): New variable for listing option files. 2005-03-14 20:18:43 +00:00
gnattools * Makefile.in: Fix incorrect use of ' in shell command 2005-03-09 10:49:09 +01:00
include libiberty.h (gettimeofday): Declare. 2005-03-10 00:57:10 +00:00
intl
libada re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
libcpp Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
libffi re PR libffi/20104 (gij fails on ppc and not on x86) 2005-02-23 14:05:13 +00:00
libgfortran [multiple changes] 2005-03-11 08:03:02 +00:00
libiberty libiberty.h (gettimeofday): Declare. 2005-03-10 00:57:10 +00:00
libjava stacktrace.cc (GetCallerInfo): Return nothing in case of SJLJ_EXCEPTIONS is defined. 2005-03-12 17:00:38 +01:00
libmudflap * typo fix 2005-02-13 12:58:28 +00:00
libobjc hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated version reference. 2005-03-03 18:25:04 +00:00
libstdc++-v3 Daily bump. 2005-03-14 00:16:58 +00:00
maintainer-scripts Fix non-Ada bootstrap failure reported by Ranjit Mathew 2005-03-10 Ranjit Mathew <rmathew@hotmail.com> 2005-03-10 17:47:31 -08:00
zlib Revert bad import 2005-02-02 22:09:16 +00:00
.cvsignore
ABOUT-NLS
COPYING
COPYING.LIB
ChangeLog MAINTAINERS (Write After Approval): Add myself. 2005-03-13 14:05:58 +00:00
ChangeLog.tree-ssa
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2005-03-13 14:05:58 +00:00
Makefile.def re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
Makefile.in re PR bootstrap/20250 (fixincludes is no longer installs but does make check instead) 2005-02-28 07:09:55 -08:00
Makefile.tpl re PR bootstrap/20250 (fixincludes is no longer installs but does make check instead) 2005-02-28 07:09:55 -08:00
README
README.SCO
compile
config-ml.in re PR bootstrap/18033 (--disable-aix64 doesn't remove ppc64 from multilib list) 2005-01-12 19:47:56 -05:00
config.guess
config.rpath
config.sub install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
configure re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
configure.in re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
depcomp
install-sh install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh re PR libgcj/20160 (link errors building libgcj tests) 2005-03-01 22:27:43 +00:00
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.