This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r144055 - in /branches/lto/gcc: ChangeLog.lto M...


Author: simonb
Date: Tue Feb 10 11:25:54 2009
New Revision: 144055

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144055
Log:

	* lto-opts.h: New.
	* lto-opts.c: New.
	* lto-header.h (lto_section_type): Add LTO_section_opts.
	* opts.c: Include lto-opts.h.
	* (handle_option): Call lto_register_user_option for each
	valid option handled.
	* (decode_options): Clear registered options before the options
	handling loop.
	* lto-utils.c (lto_get_section_name): Add LTO_section_opts section.
	* lto-section-out.c: Include lto-opts.h.
	* (produce_asm_for_decls): Write saved options to the output
	object file.
	* Makefile.in (LTO_OPTS_H): New.
	* (OBJS-common): Add lto-opts.o.
	* (opts.o): Add dependency on LTO_OPTS_H.
	* (lto-section-out.o): Ditto.
	* (lto-opts.o): Dependencies for new modules.

	* gcc.dg/lto/20090206-1_0.c: New.
	* gcc.dg/lto/20090206-2_0.c: New.

	* lto.c: Include lto-opts.h.
	* (lto_main): Clear file options at loop start, read any saved
	options from the first file handled, and re-issue options.
	* Makefile.in (lto.o): Add dependency on lto-opts.h.


Added:
    branches/lto/gcc/lto-opts.c
    branches/lto/gcc/lto-opts.h
    branches/lto/gcc/testsuite/gcc.dg/lto/20090206-1_0.c
    branches/lto/gcc/testsuite/gcc.dg/lto/20090206-2_0.c
Modified:
    branches/lto/gcc/ChangeLog.lto
    branches/lto/gcc/Makefile.in
    branches/lto/gcc/lto-header.h
    branches/lto/gcc/lto-section-out.c
    branches/lto/gcc/lto-utils.c
    branches/lto/gcc/lto/ChangeLog
    branches/lto/gcc/lto/Make-lang.in
    branches/lto/gcc/lto/lto.c
    branches/lto/gcc/opts.c
    branches/lto/gcc/testsuite/ChangeLog.lto


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]