gcc/gcc ChangeLog gcc.c toplev.c ada/lang-spec ...

ctice@gcc.gnu.org ctice@gcc.gnu.org
Mon Apr 5 19:23:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ctice@gcc.gnu.org	2004-04-05 19:23:31

Modified files:
	gcc            : ChangeLog gcc.c toplev.c 
	gcc/ada        : lang-specs.h 
	gcc/cp         : lang-specs.h 
	gcc/doc        : invoke.texi 
	gcc/f          : lang-specs.h 
	gcc/java       : lang-specs.h 
	gcc/objc       : lang-specs.h 
	gcc/treelang   : lang-specs.h 

Log message:
	2004-04-05  Caroline Tice  <ctice@apple.com>
	
	* gcc.c (combine_flag): New global variable, for new driver option.
	(struct compiler): Add two new fields, to be used when
	combining multiple input files in a single pass (IMA).
	(default_compilers):  Add values for the new fields to all
	compiler entries. Modify the "@c" compiler entry for doing IMA
	properly with "-save-temps" and the "combine" flag.
	(option_map):  Add new driver option, "--combine", to tell driver
	to pass multiple input files to compiler at one time.
	(have_o_argbuf_index): New global variable.
	(store_arg): Modify to assign value to have_o_argbuf_index.
	(struct infile):  Add three new fields, to help with IMA.
	(display_help): Add help for new "combine" option.
	(process_command): Remove local variable have_o; add code to check
	for new "combine" option; remove assignment to combine_inputs.
	(do_spec_1):  Modify to deal with IMA better.
	(main): Make variable 'lang_n_infiles' local to entire function
	rather than to a single block.  Use flag combine_flag to
	determine whether to do IMA or not; Modify loop initializing
	infiles to deal properly with linker files.
	Add code for doing preprocessing in presence of
	IMA with "-save-temps" flag.  Modify "main" loop to handle
	multiple input files, in multiple languages, with or without
	preprocessing,  gracefully.
	* toplev.c (set_src_pwd): Modify to not complain if attempting to
	re-set it to same directory it's previously been set to (avoid
	irritating, meaningless warning messages when doing IMA with
	save-temps).
	* doc/invoke.texi: Add "-combine" to list of Overall Options;
	remove documentation about IMA that is no longer accurate; Add
	documentation explaining what "-combine" does.
	* ada/lang-specs.h: Add initialization values for new fields in
	"struct compiler".
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* java/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.
	* treelang/lang-specs.h: Likewise.
	
	Fix gcc driver to work properly with IMI.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3347&r2=2.3348
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcc.c.diff?cvsroot=gcc&r1=1.412&r2=1.413
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&r1=1.890&r2=1.891
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/lang-specs.h.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/lang-specs.h.diff?cvsroot=gcc&r1=1.61&r2=1.62
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&r1=1.439&r2=1.440
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/f/lang-specs.h.diff?cvsroot=gcc&r1=1.39&r2=1.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lang-specs.h.diff?cvsroot=gcc&r1=1.22&r2=1.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/lang-specs.h.diff?cvsroot=gcc&r1=1.34&r2=1.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/lang-specs.h.diff?cvsroot=gcc&r1=1.1&r2=1.2



More information about the Gcc-cvs mailing list